summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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