简体   繁体   中英

Can I use the argparse help string to decribe my script's return values?

I know I can use argparse's help string to describe both the general purpose of my script, and its input arguments. Is there also a built-in / conventional method with which I can describe my script's return values?

My conclusion: there isn't a dedicated argument; Using the epilog/description is probably your best option.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM