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

Siyao Meng commented on HDDS-8066:
----------------------------------

[~adoroszlai] Good point. I had similar concerns.

Would using {{--id}} instead for all be better? And deprecate {{-id}} by 
printing a warning (when interactive) to redirect users to the double dash one.

> CLI: Add short hand `-id` for `--om-service-id`
> -----------------------------------------------
>
>                 Key: HDDS-8066
>                 URL: https://issues.apache.org/jira/browse/HDDS-8066
>             Project: Apache Ozone
>          Issue Type: Task
>            Reporter: Siyao Meng
>            Priority: Major
>
> We had previously added {{\-o}} as a short hand for {{\-\-om-service-id}} but 
> is not widely used. It has only been added here:
> https://github.com/apache/ozone/blob/ccf1b7c18f8a4cc46907505ba73c9b93f29ad6c9/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/freon/OmBucketReadWriteKeyOps.java#L72
> And we are already widely using {{\-id}} as the short option for (OM) 
> {{\-\-service-id}} in admin commands:
> https://github.com/apache/ozone/blob/b2fca4386ccd5075d0deeac04c7c438e5ccfee2e/hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/admin/om/GetServiceRolesSubcommand.java#L45
> Proposal: Add {{\-id}} as the short option in all {{\-\-om-service-id}} 
> occurrences.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to