Suppress --config-profile option from installer script help output
authorNathan Kinder <nkinder@redhat.com>
Mon, 6 Apr 2015 16:35:03 +0000 (09:35 -0700)
committerRob Crittenden <rcritten@redhat.com>
Mon, 6 Apr 2015 19:18:36 +0000 (15:18 -0400)
The --config-profile option for the ipsilon-server-install and
ipsilon-client-install commands is designed to be used by the
in-tree functional tests.  It is not meant to be used by users,
but we are advertising the option in the help output.  This patch
suppresses the option from the help output.

https://fedorahosted.org/ipsilon/ticket/37

Signed-off-by: Nathan Kinder <nkinder@redhat.com>
Reviewed-by: Rob Crittenden <rcritten@redhat.com>
ipsilon/install/ipsilon-client-install
ipsilon/install/ipsilon-server-install

index 02b4d5f..89e6c6c 100755 (executable)
@@ -356,7 +356,7 @@ def parse_args():
     parser.add_argument('--debug', action='store_true', default=False,
                         help="Turn on script debugging")
     parser.add_argument('--config-profile', default=None,
-                        help="File containing install options")
+                        help=argparse.SUPPRESS)
     parser.add_argument('--uninstall', action='store_true',
                         help="Uninstall the server and all data")
 
index 56b0dd1..67877a6 100755 (executable)
@@ -318,7 +318,7 @@ def parse_args(plugins):
     parser.add_argument('--secure', choices=['yes', 'no'], default='yes',
                         help="Turn on all security checks")
     parser.add_argument('--config-profile', default=None,
-                        help="File containing install options")
+                        help=argparse.SUPPRESS)
     parser.add_argument('--server-debugging', action='store_true',
                         help="Enable debugging")
     parser.add_argument('--uninstall', action='store_true',