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

Attila Doroszlai commented on HDDS-11946:
-----------------------------------------

FYI option can be added at root command and used at any level.

https://picocli.info/#_inherited_options

> Require all ozone repair commands to support a --dry-run option
> ---------------------------------------------------------------
>
>                 Key: HDDS-11946
>                 URL: https://issues.apache.org/jira/browse/HDDS-11946
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Rishabh Patel
>            Assignee: Sarveksha Yeshavantha Raju
>            Priority: Major
>
> For consistency and safety, all subcommands of {{ozone repair}} should 
> support a {{--dry-run}} flag that displays what they would do if run, without 
> making any modifications. We should look to enforce this at the subcommand 
> level so that a test fails if any future subcommand does not implement this.



--
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