X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FCLI.py;h=93ac2a058ab1fb39998043e76b1a6ff64538f6ad;hb=d797c850a8493c0027b1e8b8dbc4d3e78840d4d9;hp=4da436e9d0351a0d943897575c5887a5874c981c;hpb=7910222e257368cd534f5334085f008c36e288c6;p=dead%2Fcensus-tools.git diff --git a/src/CLI.py b/src/CLI.py index 4da436e..93ac2a0 100644 --- a/src/CLI.py +++ b/src/CLI.py @@ -5,8 +5,14 @@ import Configuration.Defaults def default_option_parser(usage=None): + # Use a VerbatimFormatter instead of the default + # IndentedHelpFormatter. + fmtr = VerbatimHelpFormatter() + # -h (help) Conflicts with -h HOSTNAME - parser = OptionParser(usage=usage, add_help_option = False) + parser = OptionParser(usage = usage, + add_help_option = False, + formatter = fmtr) parser.add_option('-h', '--host',