chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
a4bfb39
)
main: fix help regarding --unit/systemd.unit=
author
Lennart Poettering
<lennart@poettering.net>
Wed, 16 Jun 2010 03:06:55 +0000
(
05:06
+0200)
committer
Lennart Poettering
<lennart@poettering.net>
Wed, 16 Jun 2010 03:06:55 +0000
(
05:06
+0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index d2411447f7349df11489615369ce35472a20684f..9cdbf2e896442a7885f5fa75af39970d41984c5e 100644
(file)
--- 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_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");
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"
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"
" --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"