Werk #18097: omd: Support position-independent --help and -h flags in subcommands

Component Site management
Title omd: Support position-independent --help and -h flags in subcommands
Date Sep 3, 2025
Level Trivial Change
Class New Feature
Compatibility Compatible - no manual interaction needed
Checkmk versions & editions
2.5.0b1
Not yet released
Checkmk Cloud (CCE), Checkmk MSP (CME)

The -h and --help flags for omd subcommands (e.g. omd create) can now be placed anywhere after the subcommand. Previously, they were only recognized when used as the first argument. This brings omd's behaviour in line with common command-line tools.

To the list of all Werks