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] [Updated] (HDDS-438) 'ozone oz' should print usage when command or sub-command is missing
Date Wed, 12 Sep 2018 23:18:00 GMT

     [ 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: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message