From 4c670919a5b15b70ff6efb50e9bb60eb45cecdba Mon Sep 17 00:00:00 2001 From: Thorsten Scherf Date: Tue, 11 Nov 2014 15:38:01 +0100 Subject: [PATCH] Add help string on how to configure multiple DNS forwards for various cli tools The man pages for various FreeIPA setup tools are more descriptive on how to configure multiple DNS forwarders than the corresponding cli help. This patch makes the cli help more verbose now for the following tools: * ipa-dns-install * ipa-replica-install * ipa-server-install https://fedorahosted.org/freeipa/ticket/4465 Reviewed-By: Martin Basti --- install/tools/ipa-dns-install | 2 +- install/tools/ipa-replica-install | 2 +- install/tools/ipa-server-install | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/install/tools/ipa-dns-install b/install/tools/ipa-dns-install index 73afadf56..7d9bf6a8b 100755 --- a/install/tools/ipa-dns-install +++ b/install/tools/ipa-dns-install @@ -47,7 +47,7 @@ def parse_options(): default=[], action="append", type="ip", ip_local=True, help="Master Server IP Address") parser.add_option("--forwarder", dest="forwarders", action="append", - type="ip", help="Add a DNS forwarder") + type="ip", help="Add a DNS forwarder. This option can be used multiple times") parser.add_option("--no-forwarders", dest="no_forwarders", action="store_true", default=False, help="Do not add any DNS forwarders, use root servers instead") parser.add_option("--reverse-zone", dest="reverse_zones", diff --git a/install/tools/ipa-replica-install b/install/tools/ipa-replica-install index 8f0ce8666..409f1f61b 100755 --- a/install/tools/ipa-replica-install +++ b/install/tools/ipa-replica-install @@ -109,7 +109,7 @@ def parse_options(): dns_group.add_option("--setup-dns", dest="setup_dns", action="store_true", default=False, help="configure bind with our zone") dns_group.add_option("--forwarder", dest="forwarders", action="append", - type="ip", help="Add a DNS forwarder") + type="ip", help="Add a DNS forwarder. This option can be used multiple times") dns_group.add_option("--no-forwarders", dest="no_forwarders", action="store_true", default=False, help="Do not add any DNS forwarders, use root servers instead") dns_group.add_option("--reverse-zone", dest="reverse_zones", default=[], diff --git a/install/tools/ipa-server-install b/install/tools/ipa-server-install index cb79cfbbc..1280b631d 100755 --- a/install/tools/ipa-server-install +++ b/install/tools/ipa-server-install @@ -282,7 +282,7 @@ def parse_options(): dns_group.add_option("--setup-dns", dest="setup_dns", action="store_true", default=False, help="configure bind with our zone") dns_group.add_option("--forwarder", dest="forwarders", action="append", - type="ip", help="Add a DNS forwarder") + type="ip", help="Add a DNS forwarder. This option can be used multiple times") dns_group.add_option("--no-forwarders", dest="no_forwarders", action="store_true", default=False, help="Do not add any DNS forwarders, use root servers instead") dns_group.add_option("--reverse-zone", dest="reverse_zones", help="The reverse DNS zone to use",