Red Hat Bugzilla – Bug 917493
oo-register-dns on broker has duplicate options
Last modified: 2017-03-08 12:35 EST
+++ This bug was initially created as a clone of Bug #917491 +++ Description of problem: oo-register-dns on broker has duplicate options.It will confuse customers. Version-Release number of selected component (if applicable): puddle:2013-02-27.1 How reproducible: always Steps to Reproduce: 1.run "oo-register-dns -h" on broker Actual results: [root@broker ~]# oo-register-dns -h /usr/sbin/oo-register-dns: option requires an argument -- h == Synopsis oo-register-dns: Register node's DNS name with Bind This command must be run as root. == Usage oo-register-dns --with-node-hostname node1 \ --with-node-ip 192.168.0.1 \ --domain example.com \ --dns-server broker.example.com == List of arguments -h|--with-node-hostname host Hostname for the node (required) -n|--with-node-ip ip IP of the node (required) -d|--domain domain Domain name for this node (optional, default: example.com) -s|--dns-server server IP address or hostname of DNS server to update (optional, default: 127.0.0.1) -k|--key-file file Bind key (optional, default: /var/named/<domain name>.key) -h|--help Print this message [root@broker ~]# Expected results: [-h|--with-node-hostname ] has a different short option from [-h| --help] Additional info:
This has been fixed upstream and been pulled in with the 1.2 rebase.
Verified in puddle 2013-05-14.1 Verify steps and outputs: [root@broker ~]# oo-register-dns -h /usr/sbin/oo-register-dns: option requires an argument -- h == Synopsis oo-register-dns: Register node's DNS name with Bind This command must be run as root. == Usage oo-register-dns --with-node-hostname node1 \ --with-node-ip 192.168.0.1 \ --domain example.com \ --dns-server broker.example.com == List of arguments -h|--with-node-hostname host Hostname for the node (required) -n|--with-node-ip ip IP of the node (required) -d|--domain domain Domain name for this node (optional, default: example.com) -s|--dns-server server IP address or hostname of DNS server to update (optional, default: 127.0.0.1) -k|--key-file file Bind key (optional, default: /var/named/<domain name>.key) -?|--help Print this message
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHEA-2013-1031.html