summaryrefslogtreecommitdiff
path: root/website/bugs/use_getopts_instead_of_getopt.mdwn
diff options
context:
space:
mode:
authorMatthew James Goins <mjgoins@openflows.com>2010-03-20 15:07:30 -0400
committerMatthew James Goins <mjgoins@openflows.com>2010-03-20 15:07:30 -0400
commit2f9fe93b98ed32b662212899db6ba2174c1138d3 (patch)
tree099a0b3224b666bfc1289462f1a6d01a24763102 /website/bugs/use_getopts_instead_of_getopt.mdwn
parent072e05ac7a9872edc3a3e18e103bbba2706254bf (diff)
Removed docs and website. They will now reside (for my repo) at git://lair.fifthhorseman.net/~mjgoins/monkeysphere.info/
Diffstat (limited to 'website/bugs/use_getopts_instead_of_getopt.mdwn')
-rw-r--r--website/bugs/use_getopts_instead_of_getopt.mdwn19
1 files changed, 0 insertions, 19 deletions
diff --git a/website/bugs/use_getopts_instead_of_getopt.mdwn b/website/bugs/use_getopts_instead_of_getopt.mdwn
deleted file mode 100644
index 2ec68d6..0000000
--- a/website/bugs/use_getopts_instead_of_getopt.mdwn
+++ /dev/null
@@ -1,19 +0,0 @@
-Since Monkeysphere is using bash, it would be nice to use the shell
-build in getopts function, instead of the external getopt program.
-This would reduce an external dependency, which would definitely be
-better for portability.
-
----
-
-So it looks like the sh built-in getopts does not include long options
-(eg. "--expire"). Is it worth getting rid of the long options for
-this?
-
----
-
-Why not just get rid of getopts altogether and perform a simple
-argument-processing loop with bash string tests? We're only invoking
-getopt in three places, and each invocation is no more complex than
-three arguments -- and most arguments take a separate parameter, which
-means that handling tricky arg blobs like -aCxr are not gonna be
-supported anyway.