Bug 668459 - "wallaby load" help message is unclear
Summary: "wallaby load" help message is unclear
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise MRG
Classification: Red Hat
Component: wallaby-utils
Version: 1.3
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: 1.3.2
: ---
Assignee: Will Benton
QA Contact: Martin Kudlej
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-01-10 15:19 UTC by Will Benton
Modified: 2011-02-15 12:17 UTC (History)
2 users (show)

Fixed In Version: wallaby-0.10.2-1
Doc Type: Bug Fix
Doc Text:
The help message for the "wallaby load" subcommand, accessed by running "wallaby help load", did not indicate that it would read a snapshot file from standard input if no file name was provided on the command line. The help message has been clarified in this update.
Clone Of:
Environment:
Last Closed: 2011-02-15 12:17:31 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 668432 0 medium CLOSED Executing wallaby load command without an argument causes the process to hang 2021-02-22 00:41:40 UTC
Red Hat Product Errata RHBA-2011:0217 0 normal SHIPPED_LIVE Red Hat Enterprise MRG Messaging and Grid bug fix and enhancement update 2011-02-15 12:10:15 UTC

Internal Links: 668432

Description Will Benton 2011-01-10 15:19:48 UTC
Description of problem:

The help message for "wallaby load" is not clear that if a filename is omitted, the command will read from standard input.

Version-Release number of selected component (if applicable):

0.9.18 through 0.10.0

How reproducible:

run "wallaby help load" with no other arguments.

Actual results:

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

Expected results:

Usage:  wallaby load [SNAPFILE]
Loads a wallaby snapshot from SNAPFILE or standard input if no filename is given.
    -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

Additional info:

Comment 1 Will Benton 2011-01-14 23:38:29 UTC
    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:  The "wallaby load" command takes input either from a filename or from standard input.  The help message for the "wallaby load" command did not indicate that it would read a snapshot file from standard input if no filename was provided on the command line.
C:  This may have been confusing for some users.
F:  The on-line help now explicitly indicates that if no filename is provided, the wallaby load command will read from standard input.
R:  The command's on-line help now more completely describes the command's interface, eliminating a potential source of confusion.

Comment 3 Martin Kudlej 2011-01-19 13:46:58 UTC
Tested on RHEL 5.6 x i386/x86_64 with:
condor-wallaby-base-db-1.4-5.el5
wallaby-utils-0.9.18-2.el5
condor-wallaby-tools-3.6-6.el5
ruby-wallaby-0.9.18-2.el5
python-wallabyclient-3.6-6.el5
condor-wallaby-client-3.6-6.el5
wallaby-0.9.18-2.el5

and the string isn't there.

Comment 4 Martin Kudlej 2011-01-31 10:43:46 UTC
Tested on RHEL 5.6 x i386/x86_64 with:
condor-wallaby-tools-3.9-2.el5
wallaby-0.10.4-2.el5
condor-wallaby-client-3.9-2.el5
wallaby-utils-0.10.4-2.el5
python-wallabyclient-3.9-2.el5
condor-wallaby-base-db-1.5-2.el5
ruby-wallaby-0.10.4-2.el5

and the string is:
"Loads a wallaby snapshot from a file or from standard input."

Is that right?

Comment 5 Will Benton 2011-01-31 21:15:11 UTC
I think the text is acceptable.  It should be clear from the brackets around SNAPFILE that the filename is optional, and it should be obvious in context that if no filename is given, that it will read from stdin.

Comment 6 Martin Kudlej 2011-02-01 08:27:19 UTC
Ok. --> VERIFIED

Comment 7 Douglas Silas 2011-02-09 18:22:40 UTC
    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:  The "wallaby load" command takes input either from a filename or from standard input.  The help message for the "wallaby load" command did not indicate that it would read a snapshot file from standard input if no filename was provided on the command line.
+The help message for the "wallaby load" subcommand, accessed by running "wallaby help load", did not indicate that it would read a snapshot file from standard input if no file name was provided on the command line. The help message has been clarified in this update.-C:  This may have been confusing for some users.
-F:  The on-line help now explicitly indicates that if no filename is provided, the wallaby load command will read from standard input.
-R:  The command's on-line help now more completely describes the command's interface, eliminating a potential source of confusion.

Comment 8 errata-xmlrpc 2011-02-15 12:17:31 UTC
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


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