Implement a string converter in our WrapMode enum so that argparse will only print the names in the doc instead of WrapMode.<name>. This changes --help command from printing: --wrap-mode {WrapMode.default,WrapMode.nofallback,WrapMode.nodownload,WrapMode.forcefallback} to: --wrap-mode {default,nofallback,nodownload,forcefallback} Fixes issue #4067pull/4068/head
parent
05b54b4767
commit
3147b41787
1 changed files with 8 additions and 1 deletions
Loading…
Reference in new issue