[ 
https://issues.apache.org/jira/browse/HDDS-438?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16614921#comment-16614921
 ] 

Hudson commented on HDDS-438:
-----------------------------

SUCCESS: Integrated in Jenkins build Hadoop-trunk-Commit #14957 (See 
[https://builds.apache.org/job/Hadoop-trunk-Commit/14957/])
HDDS-438. 'ozone oz' should print usage when command or sub-command is (arp: 
rev a12f12f1af22a28bce2d361a506394761cf53aa7)
* (edit) 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/volume/VolumeCommands.java
* (edit) 
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/cli/MissingSubcommandException.java
* (edit) 
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java
* (edit) 
hadoop-hdds/common/src/main/java/org/apache/hadoop/hdds/cli/GenericCli.java
* (edit) 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/keys/KeyCommands.java
* (edit) 
hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/web/ozShell/bucket/BucketCommands.java


> '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
>            Assignee: Dinesh Chitlangia
>            Priority: Major
>              Labels: newbie, usability
>             Fix For: 0.2.1, 0.3.0
>
>         Attachments: HDDS-438.001.patch, HDDS-438.002.patch, 
> HDDS-438.003.patch
>
>
> 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