From: Karel Zak Date: Thu, 19 Jan 2017 11:01:51 +0000 (+0100) Subject: runuser: add "--" to SYNOPSIS X-Git-Tag: v2.29.1~10 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9d2e4c97bd724b05a2c6f5f9c17efac95ed1f439;p=thirdparty%2Futil-linux.git runuser: add "--" to SYNOPSIS Signed-off-by: Karel Zak --- diff --git a/login-utils/runuser.1 b/login-utils/runuser.1 index e748b1ee58..f8d9c0451c 100644 --- a/login-utils/runuser.1 +++ b/login-utils/runuser.1 @@ -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 "...]]" diff --git a/login-utils/su-common.c b/login-utils/su-common.c index ff20a2f478..1f4089e2d5 100644 --- a/login-utils/su-common.c +++ b/login-utils/su-common.c @@ -679,7 +679,7 @@ usage (int status) { if (su_mode == RUNUSER_MODE) { fputs(USAGE_HEADER, stdout); - printf (_(" %s [options] -u \n"), program_invocation_short_name); + printf (_(" %s [options] -u [[--] ]\n"), program_invocation_short_name); printf (_(" %s [options] [-] [ [...]]\n"), program_invocation_short_name); fputs (_("\n" "Run with the effective user ID and group ID of . If -u is\n"