From 2fe4c60ae3f26c75ae45ab092321d07fb98bd52c Mon Sep 17 00:00:00 2001 From: TheQwertiest Date: Tue, 9 Jun 2020 20:14:57 +0300 Subject: Made --help options sorted --- mesonbuild/mintro.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mesonbuild/mintro.py') diff --git a/mesonbuild/mintro.py b/mesonbuild/mintro.py index 8eb659b6e..de8fc5a1b 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.') -- cgit v1.2.1