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

Andrew Wang commented on HADOOP-10793:
--------------------------------------

How about this:

- We do single-dash for Key/CredShell in branch-2
- File a new JIRA for trunk to switch everything over to some new style

This way we have consistency in branch-2 and consistency in trunk. I'd like all 
commands to behave the same way.

Metapoint, I think that accepting both - and -- as the same is not great, since 
it's inventing our own new style. It's neither UNIX-style long and short args, 
nor Java/Hadoop-style single-dash always. I'd like to stick with something with 
at least some precedent.

> KeyShell and CredentialShell args should use single-dash style
> --------------------------------------------------------------
>
>                 Key: HADOOP-10793
>                 URL: https://issues.apache.org/jira/browse/HADOOP-10793
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: security
>    Affects Versions: 3.0.0
>            Reporter: Mike Yoder
>
> Follow-on from HADOOP-10736 as per [~andrew.wang] - the key shell uses the 
> gnu double dash style for command line args, while other command line 
> programs use a single dash.  Consider changing this, and consider another 
> argument parsing scheme, like the CommandLine class.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to