diff options
author | Sol Jerome <solj@ices.utexas.edu> | 2008-09-12 21:37:14 +0000 |
---|---|---|
committer | Sol Jerome <solj@ices.utexas.edu> | 2008-09-12 21:37:14 +0000 |
commit | b61bff7897f4006f94ac65278d272175c4897cf1 (patch) | |
tree | 194a299fee35007cb550faae3cff3349fba0401f | |
parent | 01e56e153fd83c0b51760cf4ec04cc07e39bcc1b (diff) | |
download | bcfg2-b61bff7897f4006f94ac65278d272175c4897cf1.tar.gz bcfg2-b61bff7897f4006f94ac65278d272175c4897cf1.tar.bz2 bcfg2-b61bff7897f4006f94ac65278d272175c4897cf1.zip |
Fix helpExit message
git-svn-id: https://svn.mcs.anl.gov/repos/bcfg/trunk/bcfg2@4911 ce84e21b-d406-0410-9b95-82705330c041
-rw-r--r-- | src/lib/Options.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/Options.py b/src/lib/Options.py index a158ab37d..bea1e4178 100644 --- a/src/lib/Options.py +++ b/src/lib/Options.py @@ -132,8 +132,7 @@ class OptionSet(dict): def helpExit(self, msg='', code=1): if msg: print msg - print "Usage:" - print self.buildHelpMessage() + print "Usage: %s" % self.buildHelpMessage() raise SystemExit(code) def parse(self, argv, do_getopt=True): |