Adaverse commented on PR #32810:
URL: https://github.com/apache/airflow/pull/32810#issuecomment-1654614293

   
   > I also think there was a way `help=argparse.SUPPRESS` 
   > I think is the way to hide the option from `--help` output and also not to 
show it in our documentaiton - which is basically what we want. old users who 
are used to it will stil be able to use it, new users won't because they won't 
discover it.
   
   Yes we can hide arguments using `argparse.SUPPRESS` but it does not work 
when applied on `sub_parser`. It can be hidden by emitting help parameter from 
the corresponding sub commands as explained 
[here](https://bugs.python.org/issue22848). But this way it appears in the doc 
with text undocumented below the command. 


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