[ 
https://issues.apache.org/jira/browse/HDDS-438?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Agarwal updated HDDS-438:
-------------------------------
    Description: 
When invoked without the command or sub-command, _ozone oz_ prints the 
following error:
{code:java}
$ ozone oz
Please select a subcommand
{code}
and
{code:java}
$ ozone oz volume
Please select a subcommand
{code}
For most familiar with Unix utilities it is obvious they should rerun the 
command with _--help._ However we can just print the usage instead to avoid 
guesswork

  was:
When invoked without the command or sub-command, _ozone oz_ prints the 
following error:
{code:java}
$ ozone oz
Picked up _JAVA_OPTIONS: -Djava.awt.headless=true
Please select a subcommand
{code}
and
{code:java}
$ ozone oz volume
Picked up _JAVA_OPTIONS: -Djava.awt.headless=true
Please select a subcommand
{code}
For most familiar with Unix utilities it is obvious they should rerun the 
command with _--help._ However we can just print the usage instead to avoid 
guesswork


> 'ozone oz' should print usage when command or sub-command is missing
> --------------------------------------------------------------------
>
>                 Key: HDDS-438
>                 URL: https://issues.apache.org/jira/browse/HDDS-438
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Tools
>            Reporter: Arpit Agarwal
>            Priority: Major
>              Labels: newbie
>
> When invoked without the command or sub-command, _ozone oz_ prints the 
> following error:
> {code:java}
> $ ozone oz
> Please select a subcommand
> {code}
> and
> {code:java}
> $ ozone oz volume
> Please select a subcommand
> {code}
> For most familiar with Unix utilities it is obvious they should rerun the 
> command with _--help._ However we can just print the usage instead to avoid 
> guesswork



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to