Bug 668799
Summary: | wallaby help $COMMAND and wallaby $COMMAND -h should exit successfully | ||
---|---|---|---|
Product: | Red Hat Enterprise MRG | Reporter: | Will Benton <willb> |
Component: | wallaby-utils | Assignee: | Will Benton <willb> |
Status: | CLOSED ERRATA | QA Contact: | Lubos Trilety <ltrilety> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 1.3 | CC: | iboverma, ltrilety, matt, pematous |
Target Milestone: | 1.3.2 | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | wallaby-0.10.4-2 | Doc Type: | Bug Fix |
Doc Text: |
The wallaby command exited with a non-zero exit code, used to indicate failure, even when the "help" subcommand was invoked. With this update, the wallaby command exits with an exit code of 0 (zero) when help is requested, as expected.
|
Story Points: | --- |
Clone Of: | 635628 | Environment: | |
Last Closed: | 2011-02-15 12:17:38 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | 635628 | ||
Bug Blocks: | 668432 |
Comment 1
Will Benton
2011-01-11 16:52:11 UTC
*** Bug 668434 has been marked as a duplicate of this bug. *** Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: C: Wallaby utility commands exited with a failure status after printing their help messages. C: This behavior may have been confusing for some users. F: Wallaby utility commands now exit with a zero (success) status when help is requested. R: Users should find that the exit-status behavior of wallaby utility commands is now more consistent with their expectations. # wallaby help load Usage: wallaby load [SNAPFILE] Loads a wallaby snapshot from a file or from standard input. -h, --help displays this message -a, --activate attempt to activate config after loading -q, --quiet do not provide progress on load feedback -v, --verbose provide more progress on load feedback # echo $? 1 # rpm -q wallaby wallaby-0.10.4-1.el5 Tested with (version):
wallaby-0.10.4-2
Tested on:
RHEL5 i386,x86_64 - passed
>>> VERIFIED
Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1,4 +1 @@ -C: Wallaby utility commands exited with a failure status after printing their help messages. +The wallaby command exited with a non-zero exit code, used to indicate failure, even when the "help" subcommand was invoked. With this update, the wallaby command exits with an exit code of 0 (zero) when help is requested, as expected.-C: This behavior may have been confusing for some users. -F: Wallaby utility commands now exit with a zero (success) status when help is requested. -R: Users should find that the exit-status behavior of wallaby utility commands is now more consistent with their expectations. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0217.html |