summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSylvain Th?nault <sylvain.thenault@logilab.fr>2010-09-06 13:09:38 +0200
committerSylvain Th?nault <sylvain.thenault@logilab.fr>2010-09-06 13:09:38 +0200
commitc5fd2dbb09c3ca7e1d5fe48e46f01f181cdcade3 (patch)
treed55c33969c6e9b2152654fdce89ca6a0fe6f0a2a
parentb58fced15015a8a02edf6d52bc04588108aa8471 (diff)
downloadlogilab-common-c5fd2dbb09c3ca7e1d5fe48e46f01f181cdcade3.tar.gz
[clcommands] add empty line after usage
-rw-r--r--clcommands.py2
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])