diff options
| author | Andreas Karlsson <andreas@proxel.se> | 2024-10-30 15:11:37 +0100 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2024-11-02 19:55:09 -0400 |
| commit | b8cdd06af5ecf8ddc9c788c95cf05cb5b8c5cda7 (patch) | |
| tree | 0c0d1242b249ee28ea234a28b7263ecb9778b853 | |
| parent | 2d40813d4264b312acc51b78250513b3536c682b (diff) | |
| download | meson-b8cdd06af5ecf8ddc9c788c95cf05cb5b8c5cda7.tar.gz | |
Consistently list short options first for install
Other commands already list the short options first plus -h is always
listed before --help.
| -rw-r--r-- | mesonbuild/minstall.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/minstall.py b/mesonbuild/minstall.py index 93324d94f..860826bf1 100644 --- a/mesonbuild/minstall.py +++ b/mesonbuild/minstall.py @@ -78,7 +78,7 @@ def add_arguments(parser: argparse.ArgumentParser) -> None: help='Do not print every file that was installed.') parser.add_argument('--destdir', default=None, help='Sets or overrides DESTDIR environment. (Since 0.57.0)') - parser.add_argument('--dry-run', '-n', action='store_true', + parser.add_argument('-n', '--dry-run', action='store_true', help='Doesn\'t actually install, but print logs. (Since 0.57.0)') parser.add_argument('--skip-subprojects', nargs='?', const='*', default='', help='Do not install files from given subprojects. (Since 0.58.0)') |
