Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1219581 - [CLI] particular help screens inconsistent in indication of default sub^n-commands
[CLI] particular help screens inconsistent in indication of default sub^n-com...
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: pcs (Show other bugs)
7.2
Unspecified Unspecified
low Severity unspecified
: rc
: ---
Assigned To: Ivan Devat
cluster-qe@redhat.com
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-05-07 13:19 EDT by Jan Pokorný
Modified: 2016-11-03 16:54 EDT (History)
3 users (show)

See Also:
Fixed In Version: pcs-0.9.151-1.el7
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-11-03 16:54:01 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
proposed fix (4.18 KB, patch)
2016-02-18 05:18 EST, Ivan Devat
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2596 normal SHIPPED_LIVE Moderate: pcs security, bug fix, and enhancement update 2016-11-03 08:11:34 EDT

  None (edit)
Description Jan Pokorný 2015-05-07 13:19:40 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.
Comment 3 Ivan Devat 2016-02-18 05:18 EST
Created attachment 1128177 [details]
proposed fix
Comment 4 Mike McCune 2016-03-28 18:42:18 EDT
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune@redhat.com with any questions
Comment 5 Ivan Devat 2016-05-31 08:03:39 EDT
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]
Comment 9 errata-xmlrpc 2016-11-03 16:54:01 EDT
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

Note You need to log in before you can comment on or make changes to this bug.