aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/mintro.py
diff options
context:
space:
mode:
authorTheQwertiest <qwertiest@mail.ru>2020-06-09 20:14:57 +0300
committerDylan Baker <dylan@pnwbakers.com>2020-06-09 13:57:44 -0700
commit2fe4c60ae3f26c75ae45ab092321d07fb98bd52c (patch)
tree7372aea8ea537ac7bd808cac647b1bcc232efddf /mesonbuild/mintro.py
parent477cacf1551f6c92488eeed1a44e59fe6c47b0d2 (diff)
downloadmeson-2fe4c60ae3f26c75ae45ab092321d07fb98bd52c.zip
meson-2fe4c60ae3f26c75ae45ab092321d07fb98bd52c.tar.gz
meson-2fe4c60ae3f26c75ae45ab092321d07fb98bd52c.tar.bz2
Made --help options sorted
Diffstat (limited to 'mesonbuild/mintro.py')
-rw-r--r--mesonbuild/mintro.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py
index 8eb659b..de8fc5a 100644
--- a/mesonbuild/mintro.py
+++ b/mesonbuild/mintro.py
@@ -80,7 +80,7 @@ def add_arguments(parser):
flag = '--' + key.replace('_', '-')
parser.add_argument(flag, action='store_true', dest=key, default=False, help=val.desc)
- parser.add_argument('--backend', choices=cdata.backendlist, dest='backend', default='ninja',
+ parser.add_argument('--backend', choices=sorted(cdata.backendlist), dest='backend', default='ninja',
help='The backend to use for the --buildoptions introspection.')
parser.add_argument('-a', '--all', action='store_true', dest='all', default=False,
help='Print all available information.')