summaryrefslogtreecommitdiff
path: root/libraries/argparse/README
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-04-09 10:47:27 -0500
committerRobby Workman <rworkman@slackbuilds.org>2010-05-15 10:25:59 +0200
commit1e6de1892bf750cd32a95cc0284cd05792d2413c (patch)
treefe22e9190ee51015f3255cc32d05d4039d011a19 /libraries/argparse/README
parentce650dfee78b81935ffa20d737425d91cdb494ea (diff)
downloadslackbuilds-1e6de1892bf750cd32a95cc0284cd05792d2413c.tar.gz
libraries/argparse: Added (optparse sub for python)
Diffstat (limited to 'libraries/argparse/README')
-rw-r--r--libraries/argparse/README11
1 files changed, 11 insertions, 0 deletions
diff --git a/libraries/argparse/README b/libraries/argparse/README
new file mode 100644
index 0000000000..d084cfa857
--- /dev/null
+++ b/libraries/argparse/README
@@ -0,0 +1,11 @@
+The argparse python module provides an easy declarative interface for
+creating command line tools. Argparse knows how to parse the arguments
+and flags from sys.argv, convert arg strings into objects for your program,
+format and print informative help messages, and much more...
+
+The argparse module improves on the standard library optparse module in
+a number of ways including handling positional arguments, support for
+sub-commands, allowing alternative option prefixes like + and /,
+handling zero-or-more and one-or-more style arguments, producing more
+informative usage messages, and providing a much simpler interface for
+custom types and actions.