summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichele Simionato <michele.simionato@gmail.com>2011-01-03 05:41:41 +0100
committerMichele Simionato <michele.simionato@gmail.com>2011-01-03 05:41:41 +0100
commitf559460c6eeae60e231962730aad779a6ba5e205 (patch)
treeb25f47f2caaf88e7c6588a769fd1c45b86acf497
parent5c98225ea4093b4b4462941a27c4f6b6ddb6a191 (diff)
downloadmicheles-f559460c6eeae60e231962730aad779a6ba5e205.tar.gz
Fixed two minor things with the help messages of plac
-rw-r--r--plac/doc/example13.py2
-rw-r--r--plac/doc/vcs.help4
2 files changed, 4 insertions, 2 deletions
diff --git a/plac/doc/example13.py b/plac/doc/example13.py
index 412a144..9982fdd 100644
--- a/plac/doc/example13.py
+++ b/plac/doc/example13.py
@@ -3,7 +3,7 @@ import plac
class FVCS(object):
"A Fake Version Control System"
commands = 'checkout', 'commit', 'status', 'help'
- add_help = False
+ add_help = True
@plac.annotations(
name=('a recognized command', 'positional', None, str, commands))
diff --git a/plac/doc/vcs.help b/plac/doc/vcs.help
index 4af805f..51bd34a 100644
--- a/plac/doc/vcs.help
+++ b/plac/doc/vcs.help
@@ -7,4 +7,6 @@ optional arguments:
subcommands:
{status,commit,checkout}
- -h to get additional help
+ checkout A fake checkout command
+ commit A fake commit command
+ status A fake status command