path: root/ipa-client/ipa-install/ipa-client-install
diff options
authorRob Crittenden <>2011-04-11 13:58:39 -0400
committerMartin Kosek <>2011-04-12 09:31:56 +0200
commit811f631c0978e02c8b4a771eead6e13160f1e528 (patch)
tree6492d8e5828bf484fe5e0f8d2c371b78298bf295 /ipa-client/ipa-install/ipa-client-install
parentd42bf3f530759824586bba0df52f9bd8a6f20df7 (diff)
Suppress --on-master from ipa-client-install command-line and man page.
This option is only used when configuring an IPA client on an IPA server. Describing it on the command-line will only confuse people so don't list it as an option. Ticket 1050
Diffstat (limited to 'ipa-client/ipa-install/ipa-client-install')
1 files changed, 4 insertions, 1 deletions
diff --git a/ipa-client/ipa-install/ipa-client-install b/ipa-client/ipa-install/ipa-client-install
index 4e29fa9..ca96e86 100755
--- a/ipa-client/ipa-install/ipa-client-install
+++ b/ipa-client/ipa-install/ipa-client-install
@@ -40,6 +40,7 @@ try:
from ipapython.config import IPAOptionParser
import SSSDConfig
from ConfigParser import RawConfigParser
+ from optparse import SUPPRESS_HELP
except ImportError:
print >> sys.stderr, """\
There was a problem importing one of the required Python modules. The
@@ -75,8 +76,10 @@ def parse_options():
help="Prompt for a password to join the IPA realm"),
parser.add_option("-p", "--principal", dest="principal",
help="principal to use to join the IPA realm"),
+ # --on-master is used in ipa-server-install and ipa-replica-install
+ # only, it isn't meant to be used on clients.
parser.add_option("--on-master", dest="on_master", action="store_true",
- help="use this option when run on a master", default=False)
+ help=SUPPRESS_HELP, default=False)
parser.add_option("--permit", dest="permit", action="store_true",
help="disable access rules by default, permit all access.", default=False)
parser.add_option("--mkhomedir", dest="mkhomedir", action="store_true",