diff options
author | Rob Crittenden <rcritten@redhat.com> | 2010-10-11 13:06:11 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2010-10-13 13:01:05 -0400 |
commit | 81c3898da40b5618c7bf940a2b5d3731cdd66627 (patch) | |
tree | 7f320b8c75005e723be32529b5bb29becb7be985 | |
parent | 53c218cf2fd51b0e10938e30ecb25676c0c0d030 (diff) | |
download | freeipa-81c3898da40b5618c7bf940a2b5d3731cdd66627.tar.gz freeipa-81c3898da40b5618c7bf940a2b5d3731cdd66627.tar.xz freeipa-81c3898da40b5618c7bf940a2b5d3731cdd66627.zip |
Include REPLICA_FILE in usage for ipa-replica-install
ticket 247
-rwxr-xr-x | install/tools/ipa-replica-install | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install index 9249c9f7c..e54101202 100755 --- a/install/tools/ipa-replica-install +++ b/install/tools/ipa-replica-install @@ -51,7 +51,8 @@ class ReplicaConfig: def parse_options(): from optparse import OptionParser - parser = OptionParser(version=version.VERSION) + usage = "%prog [options] REPLICA_FILE" + parser = OptionParser(usage=usage, version=version.VERSION) parser.add_option("-N", "--no-ntp", dest="conf_ntp", action="store_false", help="do not configure ntp", default=True) parser.add_option("-d", "--debug", dest="debug", action="store_true", |