Skip to content

Commit

Permalink
GitHub #281: Remove workaround for --help since the bug is fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
bgribble committed Dec 2, 2016
1 parent b2c3083 commit b6d6e02
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions mfp/mfp_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
'''
main.py: main routine for mfp
Copyright (c) 2010-2012 Bill Gribble <grib@billgribble.com>
Copyright (c) 2010-2016 Bill Gribble <grib@billgribble.com>
'''

import math
Expand Down Expand Up @@ -65,7 +65,7 @@ def add_evaluator_defaults():
http://github.com/bgribble/mfp
Copyright (c) 2009-2014 Bill Gribble <grib@billgribble.com>
Copyright (c) 2009-2016 Bill Gribble <grib@billgribble.com>
MFP is free software, and you are welcome to redistribute it
under certain conditions. See the file COPYING for details.
Expand Down Expand Up @@ -100,8 +100,7 @@ def main():
description = mfp_banner % version()

parser = argparse.ArgumentParser(formatter_class=argparse.RawDescriptionHelpFormatter,
description=description, epilog=mfp_footer,
add_help=False)
description=description, epilog=mfp_footer)

parser.add_argument("patchfile", nargs='*',
help="Patch files to load")
Expand Down Expand Up @@ -137,8 +136,6 @@ def main():
help="Do not restart DSP engine if it crashes")
parser.add_argument("--no-onload", action="store_true",
help="Do not run onload/loadbang functions")
parser.add_argument("-h", "--help", action="store_true",
help="Display help and exit")
parser.add_argument("--help-builtins", action="store_true",
help="Display help on builtin objects and exit")
parser.add_argument("-s", "--socket-path", default="/tmp/mfp_rpcsock",
Expand Down

0 comments on commit b6d6e02

Please sign in to comment.