diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-14 08:43:21 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2014-03-14 09:31:34 -0400 |
commit | fe970a8a30d611d454cb40025cfc32e29efa34e6 (patch) | |
tree | 308ca3c94d3d1bb69826ea8b19d8ff86b027467e /src/machine-id-setup | |
parent | cb44f25c12f6203ad1f173d5b32d4059f446508e (diff) |
machine-id-setup: use path_kill_slashes and modernizations
Diffstat (limited to 'src/machine-id-setup')
-rw-r--r-- | src/machine-id-setup/machine-id-setup-main.c | 4 |
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; } |