Bug 668434
| Summary: | Getting help for wallaby command using "-h" option causes the SystemExit, exitcode 127 | ||
|---|---|---|---|
| Product: | Red Hat Enterprise MRG | Reporter: | Petr Matousek <pematous> |
| Component: | wallaby-utils | Assignee: | Will Benton <willb> |
| Status: | CLOSED DUPLICATE | QA Contact: | MRG Quality Engineering <mrgqe-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.3 | CC: | matt |
| Target Milestone: | 1.3.2 | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-01-11 16:54:15 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: | |||
*** This bug has been marked as a duplicate of bug 668799 *** |
Description of problem: Getting help for wallaby command using "-h" option causes the SystemExit. [root ~]# wallaby load -h Usage: wallaby load SNAPFILE Loads a wallaby snapshot from SNAPFILE.. -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 fatal: #<SystemExit: exit> [root ~]# echo $? 127 Getting help for wallaby command using "wallaby help command" works better (see bug 635975). This was seen on Rhel 5.5 i686, x86_64. Version-Release number of selected component (if applicable): wallaby-utils-0.10.0-2.el5 How reproducible: 100% Steps to Reproduce: 1. Execute "wallaby load -h" command 2. The command usage is printed out (correct) 3. The Command execution ends with the SystemExit. Actual results: Help for a command is displayed, program execution ends with the SystemExit, return code is equal to 127 Expected results: Help for a command is displayed, no error message is printed out, return code is equal to zero Additional info: