diff options
author | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-08-21 17:08:41 -0400 |
---|---|---|
committer | Nicolas Dufresne <nicolas.dufresne@collabora.com> | 2018-08-22 10:43:08 -0400 |
commit | 3147b4178792c967277449f03d418b23e2d03137 (patch) | |
tree | cffc14c98b6ce90ea8dcd293146380c574fe5472 /mesonbuild/compilers/compilers.py | |
parent | 05b54b4767ff9bd14f0c037d0c2b86447a077b66 (diff) | |
download | meson-3147b4178792c967277449f03d418b23e2d03137.zip meson-3147b4178792c967277449f03d418b23e2d03137.tar.gz meson-3147b4178792c967277449f03d418b23e2d03137.tar.bz2 |
help: Fix printing list of wrap mode
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 #4067
Diffstat (limited to 'mesonbuild/compilers/compilers.py')
0 files changed, 0 insertions, 0 deletions