Arpit Agarwal created HDDS-438:
----------------------------------

             Summary: '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


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



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

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscr...@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-h...@hadoop.apache.org

Reply via email to