diff options
author | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-09-06 13:09:38 +0200 |
---|---|---|
committer | Sylvain Th?nault <sylvain.thenault@logilab.fr> | 2010-09-06 13:09:38 +0200 |
commit | c5fd2dbb09c3ca7e1d5fe48e46f01f181cdcade3 (patch) | |
tree | d55c33969c6e9b2152654fdce89ca6a0fe6f0a2a | |
parent | b58fced15015a8a02edf6d52bc04588108aa8471 (diff) | |
download | logilab-common-c5fd2dbb09c3ca7e1d5fe48e46f01f181cdcade3.tar.gz |
[clcommands] add empty line after usage
-rw-r--r-- | clcommands.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/clcommands.py b/clcommands.py index 3ea1fe6..e683ccf 100644 --- a/clcommands.py +++ b/clcommands.py @@ -156,6 +156,8 @@ class CommandLine(dict): print '<command> [options] <command argument>...' if self.doc: print '\n%s\n' % self.doc + else: + print print '''Type "%(pgm)s <command> --help" for more information about a specific command. Available commands are :\n''' % self.__dict__ max_len = max([len(cmd) for cmd in self]) |