diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-05-14 09:37:27 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-05-18 20:17:57 +0200 |
commit | 3931056767acb5c44721a9f0870135646b39b70e (patch) | |
tree | e6188fd458f4679edf89d6e56b9b47231c486c82 /src/basic/proc-cmdline.h | |
parent | condition: when reading /etc/ modification timestamp, let's actualy compare i... (diff) | |
download | systemd-3931056767acb5c44721a9f0870135646b39b70e.tar.xz systemd-3931056767acb5c44721a9f0870135646b39b70e.zip |
proc-cmdline: add some explanatory comments
Diffstat (limited to 'src/basic/proc-cmdline.h')
-rw-r--r-- | src/basic/proc-cmdline.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/basic/proc-cmdline.h b/src/basic/proc-cmdline.h index 4115fdbc99..275f46c89e 100644 --- a/src/basic/proc-cmdline.h +++ b/src/basic/proc-cmdline.h @@ -6,9 +6,9 @@ #include "log.h" typedef enum ProcCmdlineFlags { - PROC_CMDLINE_STRIP_RD_PREFIX = 1 << 0, - PROC_CMDLINE_VALUE_OPTIONAL = 1 << 1, - PROC_CMDLINE_RD_STRICT = 1 << 2, + PROC_CMDLINE_STRIP_RD_PREFIX = 1 << 0, /* automatically strip "rd." prefix if it is set (and we are in the initrd, since otherwise we'd not consider it anyway) */ + PROC_CMDLINE_VALUE_OPTIONAL = 1 << 1, /* the value is optional (for boolean switches that can omit the value) */ + PROC_CMDLINE_RD_STRICT = 1 << 2, /* ignore this in the initrd */ } ProcCmdlineFlags; typedef int (*proc_cmdline_parse_t)(const char *key, const char *value, void *data); |