From b6d6e028bb03002bb279fa48acb3d3e6cb97d0da Mon Sep 17 00:00:00 2001 From: Bill Gribble Date: Fri, 2 Dec 2016 08:24:21 -0500 Subject: [PATCH] GitHub #281: Remove workaround for --help since the bug is fixed --- mfp/mfp_main.py | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/mfp/mfp_main.py b/mfp/mfp_main.py index d8d7fb26..638eb1a6 100644 --- a/mfp/mfp_main.py +++ b/mfp/mfp_main.py @@ -2,7 +2,7 @@ ''' main.py: main routine for mfp -Copyright (c) 2010-2012 Bill Gribble +Copyright (c) 2010-2016 Bill Gribble ''' import math @@ -65,7 +65,7 @@ def add_evaluator_defaults(): http://github.com/bgribble/mfp -Copyright (c) 2009-2014 Bill Gribble +Copyright (c) 2009-2016 Bill Gribble MFP is free software, and you are welcome to redistribute it under certain conditions. See the file COPYING for details. @@ -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") @@ -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",