summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-06-16 05:06:55 +0200
committerLennart Poettering <lennart@poettering.net>2010-06-16 05:06:55 +0200
commit41192f6e8af0004c5d736df31c25b849e34e7ac6 (patch)
tree514bf5de3a2a8a0ae857df00a4a9178253370258 /src/main.c
parenta4bfb3990be698b1f5c691a73823c040ffe919d5 (diff)
main: fix help regarding --unit/systemd.unit=
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.c b/src/main.c
index d2411447f7..9cdbf2e896 100644
--- a/src/main.c
+++ b/src/main.c
@@ -284,7 +284,7 @@ static int parse_proc_cmdline_word(const char *word) {
log_warning("Unknown kernel switch %s. Ignoring.", word);
log_info("Supported kernel switches:");
- log_info("systemd.default_unit=UNIT Default unit to start");
+ log_info("systemd.unit=UNIT Default unit to start");
log_info("systemd.log_target=console|kmsg|syslog Log target");
log_info("systemd.log_level=LEVEL Log level");
log_info("systemd.dump_core=0|1 Dump core on crash");
@@ -496,7 +496,7 @@ static int help(void) {
printf("%s [options]\n\n"
" -h --help Show this help\n"
- " --default=UNIT Set default unit\n"
+ " --unit=UNIT Set default unit\n"
" --log-level=LEVEL Set log level\n"
" --log-target=TARGET Set log target (console, syslog, kmsg, syslog-or-kmsg)\n"
" --running-as=AS Set running as (init, system, session)\n"