Red Hat Bugzilla – Bug 1219581
[CLI] particular help screens inconsistent in indication of default sub^n-commands
Last modified: 2016-11-03 16:54:01 EDT
# pcs config -h > [...] > Commands: > [show] > View full cluster configuration --> pcs config ~ pcs config show # pcs resource -h > [...] > Commands: > show [resource id] [--full] [--groups] --> so what will mere "pcs resource" do, that's a question (for a novice user) + examples sections should also remind user that "pcs resource" is equivalent to "pcs resource show" Other corners should be checked as well.
Created attachment 1128177 [details] proposed fix
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions
Before fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.143-15.el7.x86_64 [vm-rhel72-1 ~] $ pcs resource -h |grep "show \[" show [resource id] [--full] [--groups] [vm-rhel72-1 ~] $ pcs stonith -h |grep "show \[" show [stonith id] [--full] [vm-rhel72-1 ~] $ pcs property -h |grep "show \[" list|show [<property> | --all | --defaults] After Fix: [vm-rhel72-1 ~] $ rpm -q pcs pcs-0.9.151-1.el7.x86_64 [vm-rhel72-1 ~] $ pcs resource -h |grep "show \[" [show [resource id]] [--full] [--groups] [vm-rhel72-1 ~] $ pcs stonith -h |grep "show \[" [show [stonith id]] [--full] [vm-rhel72-1 ~] $ pcs property -h |grep "show \[" [list|show [<property> | --all | --defaults]] | [--all | --defaults]
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. https://rhn.redhat.com/errata/RHSA-2016-2596.html