yuruguo commented on pull request #11828:
URL: https://github.com/apache/pulsar/pull/11828#issuecomment-913578123


   > I believe that you can "hide" the parameter
   > but you have to let the users use the old syntax (with -s)
   > 
   > I am not sure if it is worth.
   > Using "-s" is quite convenient especially when you are running very simple 
smoke tests.
   > 
   > what about deprecating "-ss" and let "-s" behave like "-ss" ?
   
   Thanks for your suggestion, I think perhaps the following is a way to 
consider:
   Keep parameter `-s`(no default value) and make it work, but its priority is 
higher than parameter `-ss` only when `-s` is not null(that is, the user 
specifies `-s`).
   _related to code1_
   
![image](https://user-images.githubusercontent.com/13013780/132211014-ffc9f69c-3079-4e33-9059-6a29d59c7ec0.png)
   _related to code2_
   
![image](https://user-images.githubusercontent.com/13013780/132211086-e2091046-d841-4c31-9725-f50aec8fe1fb.png)
   


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