hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Arpit Agarwal (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-438) 'ozone oz' should print usage when command or sub-command is missing
Date Fri, 14 Sep 2018 00:29:00 GMT

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

Arpit Agarwal commented on HDDS-438:
------------------------------------

Thanks [~dineshchitlangia]! Could you look at the checkstyle issue? Hidden fields can be confusing.

+1 with that addressed.

> '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
>         Attachments: HDDS-438.001.patch, HDDS-438.002.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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message