Technoboy- commented on code in PR #21664:
URL: https://github.com/apache/pulsar/pull/21664#discussion_r1413795397


##########
pulsar-client-tools/src/main/java/org/apache/pulsar/admin/cli/CmdTopics.java:
##########
@@ -714,9 +719,12 @@ void run() throws Exception {
             + "And the application is not able to connect to the topic(delete 
then re-create with same name) again "
             + "if the schema auto uploading is disabled. Besides, users should 
to use the truncate cmd to clean up "
             + "data of the topic instead of delete cmd if users continue to 
use this topic later.")
-    private class DeleteCmd extends CliCommand {
-        @Parameter(description = "persistent://tenant/namespace/topic", 
required = true)
-        private java.util.List<String> params;
+    protected class DeleteCmd extends CliCommand {
+        @Parameter(description = "Provide either a single topic in the format 
'persistent://tenant/namespace/topic', "
+                + "or a path to a file containing a list of topics, e.g., 
'path://resources/topics.txt'. "
+                + "This parameter is required.",
+                required = true)
+        java.util.List<String> params;

Review Comment:
   Ah, i see the test and get the format.



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

Reply via email to