You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@rocketmq.apache.org by GitBox <gi...@apache.org> on 2021/12/01 02:54:57 UTC

[GitHub] [rocketmq] caigy opened a new issue #3564: Enclose namesrvAddr in example of mqadmin tool by quotation marks

caigy opened a new issue #3564:
URL: https://github.com/apache/rocketmq/issues/3564


   The help info of mqadmin (clusterList for example) like this:
   
   > $bash mqadmin help clusterList
   > OpenJDK 64-Bit Server VM warning: ignoring option PermSize=128m; support was removed in 8.0
   > OpenJDK 64-Bit Server VM warning: ignoring option MaxPermSize=128m; support was removed in 8.0
   > usage: mqadmin clusterList [-c <arg>] [-h] [-i <arg>] [-m] [-n <arg>]
   >  -c,--clusterName <arg>   which cluster
   >  -h,--help                Print help
   >  -i,--interval <arg>      specify intervals numbers, it is in seconds
   >  -m,--moreStats           Print more stats
   >  -n,--namesrvAddr <arg>   Name server address list, **eg: 192.168.0.1:9876;192.168.0.2:9876**
   
   I found that the example of namesrvAddr field is missing quotation marks, so a beginner may encounter such error message:
   
   > $bash mqadmin clusterList 192.168.0.1:9876;192.168.0.2:9876
   > bash: 192.168.0.2:9876: command not found
   
   In my option, `namesrvAddr` should be enclosed by `''`, in the help info of mqadmin and [documents](https://rocketmq.apache.org/docs/cli-admin-tool/). That would be more friendly to new beginners.
   


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] HScarb commented on issue #3564: Enclose namesrvAddr in example of mqadmin tool by quotation marks

Posted by GitBox <gi...@apache.org>.
HScarb commented on issue #3564:
URL: https://github.com/apache/rocketmq/issues/3564#issuecomment-986909288


   Can you assign this to me? 
   I have created two PRs on rocketmq repository and rocketmq-site repository


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [rocketmq] duhenglucky closed issue #3564: Enclose namesrvAddr in example of mqadmin tool by quotation marks

Posted by GitBox <gi...@apache.org>.
duhenglucky closed issue #3564:
URL: https://github.com/apache/rocketmq/issues/3564


   


-- 
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: dev-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org