chiark
/
gitweb
/
~ianmdlvl
/
elogind.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timesysnc: reword network watching messages, and move resolver errors to debug
[elogind.git]
/
src
/
machine-id-setup
/
machine-id-setup-main.c
diff --git
a/src/machine-id-setup/machine-id-setup-main.c
b/src/machine-id-setup/machine-id-setup-main.c
index a67d436dbd7c40a5f305a8ad535ffe220c0b836d..1c933ce600b3cc0e324a8e4a7c0ec0f4254d66a2 100644
(file)
--- a/
src/machine-id-setup/machine-id-setup-main.c
+++ b/
src/machine-id-setup/machine-id-setup-main.c
@@
-37,7
+37,7
@@
static int help(void) {
"Initialize /etc/machine-id from a random source.\n\n"
" -h --help Show this help\n"
" --version Show package version\n"
"Initialize /etc/machine-id from a random source.\n\n"
" -h --help Show this help\n"
" --version Show package version\n"
- " --root
Filesystem root\n",
+ " --root
=ROOT
Filesystem root\n",
program_invocation_short_name);
return 0;
program_invocation_short_name);
return 0;
@@
-87,7
+87,7
@@
static int parse_argv(int argc, char *argv[]) {
}
if (optind < argc) {
}
if (optind < argc) {
-
help(
);
+
log_error("Extraneous arguments"
);
return -EINVAL;
}
return -EINVAL;
}