From f559460c6eeae60e231962730aad779a6ba5e205 Mon Sep 17 00:00:00 2001 From: Michele Simionato Date: Mon, 3 Jan 2011 05:41:41 +0100 Subject: Fixed two minor things with the help messages of plac --- plac/doc/example13.py | 2 +- plac/doc/vcs.help | 4 +++- 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 -- cgit v1.2.1