From 1ff89ed81d5c5b69c839ade65e3cee92daee30a1 Mon Sep 17 00:00:00 2001 From: Nathan Kinder Date: Apr 06 2015 19:18:36 +0000 Subject: Suppress --config-profile option from installer script help output 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 Reviewed-by: Rob Crittenden --- diff --git a/ipsilon/install/ipsilon-client-install b/ipsilon/install/ipsilon-client-install index 02b4d5f..89e6c6c 100755 --- a/ipsilon/install/ipsilon-client-install +++ b/ipsilon/install/ipsilon-client-install @@ -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") diff --git a/ipsilon/install/ipsilon-server-install b/ipsilon/install/ipsilon-server-install index 56b0dd1..67877a6 100755 --- a/ipsilon/install/ipsilon-server-install +++ b/ipsilon/install/ipsilon-server-install @@ -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',