shared/options: add OPTION_COMMON_RESOLVE_NAMES

This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-04-29 14:00:41 +02:00
parent 07fc22cd03
commit 765fc4125b
+5 -2
View File
@@ -150,10 +150,13 @@ typedef struct Option {
"(file, provider:PROVIDER)")
/* A form used in udev code for compatibility. -V is accepted but not documented. */
#define OPTION_COMMON_VERSION_WITH_HIDDEN_V \
OPTION_COMMON_VERSION: {} \
#define OPTION_COMMON_VERSION_WITH_HIDDEN_V \
OPTION_COMMON_VERSION: {} \
OPTION_SHORT('V', NULL, /* help= */ NULL)
#define OPTION_COMMON_RESOLVE_NAMES \
OPTION('N', "resolve-names", "MODE", \
"When to resolve users and groups (early, late, or never)")
/* This is magically mapped to the beginning and end of the section */
extern const Option __start_SYSTEMD_OPTIONS[];