diff options
author | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-06-15 10:54:30 -0400 |
---|---|---|
committer | Chris St. Pierre <chris.a.st.pierre@gmail.com> | 2012-06-15 10:55:46 -0400 |
commit | 9b08b9179e11ef092396662afd1a71e57ca5e528 (patch) | |
tree | 712eb9d46c56cfb7dcff0628994968e62dcbd15d /src/sbin/bcfg2-info | |
parent | edf1383048bfbd117ec27fb25a74c4b02a430ecd (diff) | |
download | bcfg2-9b08b9179e11ef092396662afd1a71e57ca5e528.tar.gz bcfg2-9b08b9179e11ef092396662afd1a71e57ca5e528.tar.bz2 bcfg2-9b08b9179e11ef092396662afd1a71e57ca5e528.zip |
fixed option alignment issues
Diffstat (limited to 'src/sbin/bcfg2-info')
-rwxr-xr-x | src/sbin/bcfg2-info | 6 |
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': |