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

Remko Popma commented on HDDS-453:
----------------------------------

Picocli allows you to have both if desired:
You can declare an option as 

{code}
@Option(names = {"-init", "--init"}, description = "...")
String init;
{code}

It is even possible to make the {{-init}} option a _hidden_ option so it does 
not appear in the usage help message but the parser will recognize the option 
to smoothen the transition and avoid backwards compatibility issues.

> om and scm should use piccoli to parse arguments
> ------------------------------------------------
>
>                 Key: HDDS-453
>                 URL: https://issues.apache.org/jira/browse/HDDS-453
>             Project: Hadoop Distributed Data Store
>          Issue Type: Improvement
>          Components: Ozone Manager, SCM
>            Reporter: Arpit Agarwal
>            Assignee: Vinicius Higa Murakami
>            Priority: Major
>              Labels: alpha2, newbie
>
> SCM and OM can use the picocli to parse command-line arguments.
> Suggested in HDDS-415 by [~anu].



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

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

Reply via email to