]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
runuser: add "--" to SYNOPSIS
authorKarel Zak <kzak@redhat.com>
Thu, 19 Jan 2017 11:01:51 +0000 (12:01 +0100)
committerKarel Zak <kzak@redhat.com>
Thu, 19 Jan 2017 11:04:05 +0000 (12:04 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
login-utils/runuser.1
login-utils/su-common.c

index da7ade25a768d0f971b256c33aa67ccd20a876a1..40b6f9b3a4392188ed573c12e095fb9de76ffd7b 100644 (file)
@@ -4,7 +4,7 @@ runuser \- run a command with substitute user and group ID
 .SH SYNOPSIS
 .BR runuser " [options] " \-u
 .I user
-.IR "command " [ argument ...]
+.RI "[[\-\-] " command " ["argument "...]]"
 .LP
 .BR runuser " [options] [" \- ]
 .RI [ user " [" argument "...]]"
index 6a50222efc5ee54d7e16e944b9f1733ef4828833..fb5497d296c24156d437285ece8da70dae72a80c 100644 (file)
@@ -671,7 +671,7 @@ usage (int status)
 {
   if (su_mode == RUNUSER_MODE) {
     fputs(USAGE_HEADER, stdout);
-    printf (_(" %s [options] -u <user> <command>\n"), program_invocation_short_name);
+    printf (_(" %s [options] -u <user> [[--] <command>]\n"), program_invocation_short_name);
     printf (_(" %s [options] [-] [<user> [<argument>...]]\n"), program_invocation_short_name);
     fputs (_("\n"
     "Run <command> with the effective user ID and group ID of <user>.  If -u is\n"