]> git.ipfire.org Git - thirdparty/systemd.git/commit
systemctl: reorder cases in parse_argv() to match order in --help
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Wed, 13 May 2026 15:39:26 +0000 (17:39 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Thu, 14 May 2026 07:03:13 +0000 (09:03 +0200)
commit137736dd645ea245e9a8f5fd6db3141bc4acb5dd
treeae66717bfbbb51ab413a179a27f703c0c43cbb1f
parentf01b3122e33f56b0e5d871d6e81a0a6711b9312b
systemctl: reorder cases in parse_argv() to match order in --help

Compatibility-only options (--fail, --irreversible, --ignore-dependencies,
--no-legend) are grouped at the end alongside the '.' / '?' error handlers.
The case 'P': … _fallthrough_; case 'p': pair is kept intact and placed at
-p's slot in --help, so -P sits immediately before -p in the source.

Co-developed-by: Claude Opus 4.7 <noreply@anthropic.com>
src/systemctl/systemctl.c