mans2singh commented on code in PR #16130:
URL: https://github.com/apache/pulsar/pull/16130#discussion_r928322708
##########
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopicPolicies.java:
##########
@@ -466,11 +466,18 @@ private class SetRetention extends CliCommand {
private List<String> params;
@Parameter(names = { "--time",
- "-t" }, description = "Retention time in minutes (or minutes,
hours,days,weeks eg: 100m, 3h, 2d, 5w). "
- + "0 means no retention and -1 means infinite time retention",
required = true)
+ "-t" }, description = "Retention time with optional time unit
suffix "
+ + "eg: 100m, 3h, 2d, 5w. "
+ + "The suffix character can be s for seconds, m for minutes, h
for hours, "
Review Comment:
Updated based on recommendations. Thanks
--
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]