diff options
author | Armin Ronacher <armin.ronacher@active-4.com> | 2014-04-30 09:24:29 +0100 |
---|---|---|
committer | Armin Ronacher <armin.ronacher@active-4.com> | 2014-04-30 09:24:29 +0100 |
commit | b62057ddce65fe2d655fc5bf804da27c1c068700 (patch) | |
tree | fd1c90900d35ed59f06424b4476a72443838af1f /docs/why.rst | |
parent | 14c9b1a0b05e1c3855f1d48e3780596f77bee3b0 (diff) | |
download | click-b62057ddce65fe2d655fc5bf804da27c1c068700.tar.gz |
Change docs to mention how we relate to optparse
Diffstat (limited to 'docs/why.rst')
-rw-r--r-- | docs/why.rst | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/docs/why.rst b/docs/why.rst index 08589e5..cf1ff9f 100644 --- a/docs/why.rst +++ b/docs/why.rst @@ -19,14 +19,11 @@ There are many alternatives to click and you can have a look at them if you enjoy them better. The obvious ones are ``optparse`` and ``argparse`` from the standard library. -click is actually implemented as a wrapper around ``optparse`` and does -not implement any parsing itself. The reason it's not based on -``argparse`` is that ``argparse`` does not allow proper nesting of -commands by design and has some deficiencies when it comes to POSIX -compliant argument handling. - -In case ``optparse`` ever gets deprecated and removed from Python, -``click`` will ship a version of it. +click is actually implemented as a wrapper around a mild fork of +``optparse`` and does not implement any parsing itself. The reason it's +not based on ``argparse`` is that ``argparse`` does not allow proper +nesting of commands by design and has some deficiencies when it comes to +POSIX compliant argument handling. Click is designed to be fun to work with and at the same time not stand in your way. It's not overly flexible at the same time either. Currently |