]> git.ipfire.org Git - thirdparty/systemd.git/commit
networkd-wait-online: convert to OPTION macros
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Wed, 29 Apr 2026 22:02:27 +0000 (00:02 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Tue, 5 May 2026 11:49:51 +0000 (13:49 +0200)
commitd5301b635f91226d4f1be9671bf79aff8f59899b
tree91a8188bada2d5b444b12261f47cfabba0e633eb
parent4ce94c3bb4769606a991a081f1827a467736b939
networkd-wait-online: convert to OPTION macros

Also fix a latent bug in parse_interface_with_operstate_range() where
the global 'optarg' was used instead of the 'str' parameter when
extracting the interface name; with getopt removed they would have
diverged.

The help strings are adjusted a bit to be grammatical and short so
that the table formatting is easier.

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