smengcl commented on code in PR #4573:
URL: https://github.com/apache/ozone/pull/4573#discussion_r1182973475
##########
hadoop-ozone/tools/src/main/java/org/apache/hadoop/ozone/shell/bucket/ListBucketHandler.java:
##########
@@ -44,14 +45,20 @@ public class ListBucketHandler extends VolumeHandler {
@CommandLine.Mixin
private ListOptions listOptions;
+ @CommandLine.Option(names = {"--snapshot"},
+ description = "List bucket which have snapshots.")
Review Comment:
```suggestion
@CommandLine.Option(names = {"--have-snapshot"},
description = "Only show buckets that have at least one active
snapshot.")
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]