summaryrefslogtreecommitdiffstats
path: root/src/sbin/bcfg2-info
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-15 10:54:30 -0400
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2012-06-15 10:55:46 -0400
commit9b08b9179e11ef092396662afd1a71e57ca5e528 (patch)
tree712eb9d46c56cfb7dcff0628994968e62dcbd15d /src/sbin/bcfg2-info
parentedf1383048bfbd117ec27fb25a74c4b02a430ecd (diff)
downloadbcfg2-9b08b9179e11ef092396662afd1a71e57ca5e528.tar.gz
bcfg2-9b08b9179e11ef092396662afd1a71e57ca5e528.tar.bz2
bcfg2-9b08b9179e11ef092396662afd1a71e57ca5e528.zip
fixed option alignment issues
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-xsrc/sbin/bcfg2-info6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/sbin/bcfg2-info b/src/sbin/bcfg2-info
index 37e9d4371..5303aa02b 100755
--- a/src/sbin/bcfg2-info
+++ b/src/sbin/bcfg2-info
@@ -631,8 +631,10 @@ if __name__ == '__main__':
optinfo.update(Bcfg2.Options.CLI_COMMON_OPTIONS)
optinfo.update(Bcfg2.Options.SERVER_COMMON_OPTIONS)
setup = Bcfg2.Options.OptionParser(optinfo)
- setup.hm = "Usage:\n %s\n%s" % (setup.buildHelpMessage(),
- USAGE)
+ setup.hm = "\n".join([" bcfg2-info [options] [command <command args>]",
+ "Options:",
+ setup.buildHelpMessage(),
+ USAGE])
setup.parse(sys.argv[1:])
if setup['args'] and setup['args'][0] == 'help':