[
https://issues.apache.org/jira/browse/BOOKKEEPER-953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
John Lonergan updated BOOKKEEPER-953:
-------------------------------------
Description:
Use more conventional patterns in usage warning messages ..
Eg
{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 ...
{code}
$ bin/bookkeeper shell listbookies
20:23:17,808 ERROR One and only one of -readwrite and -readonly must be
specified
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
{code}
There might be other instances so I suggest they are listed here and done in
one go.
was:
Use more conventional patterns in usage warning messages ..
Eg
{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 ...
{code}
$ bin/bookkeeper shell listbookies
20:23:17,808 ERROR One and only one of -readwrite and -readonly must be
specified
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
{code}
There may be other instances so I suggest they are listed here and done in one
go.
> command line options
> --------------------
>
> Key: BOOKKEEPER-953
> URL: https://issues.apache.org/jira/browse/BOOKKEEPER-953
> Project: Bookkeeper
> Issue Type: Bug
> Affects Versions: 4.4.0
> Reporter: John Lonergan
>
> Use more conventional patterns in usage warning messages ..
> Eg
> {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 ...
> {code}
> $ bin/bookkeeper shell listbookies
> 20:23:17,808 ERROR One and only one of -readwrite and -readonly must be
> specified
> 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
> {code}
> There might be other instances so I suggest they are listed here and done in
> one go.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)