summaryrefslogtreecommitdiff
path: root/src/machine-id-setup
diff options
context:
space:
mode:
Diffstat (limited to 'src/machine-id-setup')
-rw-r--r--src/machine-id-setup/machine-id-setup-main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/machine-id-setup/machine-id-setup-main.c b/src/machine-id-setup/machine-id-setup-main.c
index a67d436dbd..1c933ce600 100644
--- 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"
- " --root Filesystem root\n",
+ " --root=ROOT Filesystem root\n",
program_invocation_short_name);
return 0;
@@ -87,7 +87,7 @@ static int parse_argv(int argc, char *argv[]) {
}
if (optind < argc) {
- help();
+ log_error("Extraneous arguments");
return -EINVAL;
}