John Lonergan created BOOKKEEPER-953:

             Summary: command line options
                 Key: BOOKKEEPER-953
             Project: Bookkeeper
          Issue Type: Bug
    Affects Versions: 4.4.0
            Reporter: John Lonergan

Use more conventional patterns in usage warning messages ..

{code}usage: listbookies  [-readwrite|-readonly] [-hostnames]{code}
ought to be 
{code}usage: listbookies  (-readwrite|-readonly) [-hostnames]{code}

.. if exactly one of -readwrite|-readonly are required as per the warning ...

$ bin/bookkeeper shell listbookies
20:23:17,808 ERROR One and only one of -readwrite and -readonly must be 
listbookies: List the bookies, which are running as either readwrite or 
readonly mode.
usage: listbookies  [-readwrite|-readonly] [-hostnames]
 -h,--hostnames    Also print hostname of the bookie
 -ro,--readonly    Print readonly bookies
 -rw,--readwrite   Print readwrite bookies

There may be other instances so I suggest they are listed here and done in one 

This message was sent by Atlassian JIRA

Reply via email to