Skip to content

Commit

Permalink
Consistently list short options first for install
Browse files Browse the repository at this point in the history
Other commands already list the short options first plus -h is always
listed before --help.
  • Loading branch information
jeltz committed Nov 2, 2024
1 parent ca82a4a commit acc460f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/minstall.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)')
Expand Down

0 comments on commit acc460f

Please sign in to comment.