diff options
author | TheQwertiest <qwertiest@mail.ru> | 2020-06-09 20:14:57 +0300 |
---|---|---|
committer | Dylan Baker <dylan@pnwbakers.com> | 2020-06-09 13:57:44 -0700 |
commit | 2fe4c60ae3f26c75ae45ab092321d07fb98bd52c (patch) | |
tree | 7372aea8ea537ac7bd808cac647b1bcc232efddf /mesonbuild/minit.py | |
parent | 477cacf1551f6c92488eeed1a44e59fe6c47b0d2 (diff) | |
download | meson-2fe4c60ae3f26c75ae45ab092321d07fb98bd52c.zip meson-2fe4c60ae3f26c75ae45ab092321d07fb98bd52c.tar.gz meson-2fe4c60ae3f26c75ae45ab092321d07fb98bd52c.tar.bz2 |
Made --help options sorted
Diffstat (limited to 'mesonbuild/minit.py')
-rw-r--r-- | mesonbuild/minit.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/minit.py b/mesonbuild/minit.py index 4238ecd..bdbe69b 100644 --- a/mesonbuild/minit.py +++ b/mesonbuild/minit.py @@ -139,7 +139,7 @@ def add_arguments(parser): parser.add_argument("-n", "--name", help="project name. default: name of current directory") parser.add_argument("-e", "--executable", help="executable name. default: project name") parser.add_argument("-d", "--deps", help="dependencies, comma-separated") - parser.add_argument("-l", "--language", choices=LANG_SUPPORTED, help="project language. default: autodetected based on source files") + parser.add_argument("-l", "--language", choices=sorted(LANG_SUPPORTED), help="project language. default: autodetected based on source files") parser.add_argument("-b", "--build", action='store_true', help="build after generation") parser.add_argument("--builddir", default='build', help="directory for build") parser.add_argument("-f", "--force", action="store_true", help="force overwrite of existing files and directories.") |