From: Karel Zak Date: Thu, 19 Jan 2017 11:01:51 +0000 (+0100) Subject: runuser: add "--" to SYNOPSIS X-Git-Tag: v2.30-rc1~291 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=281873b87461daaf25414345a92e8e33b36b8bbd;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 da7ade25a7..40b6f9b3a4 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 6a50222efc..fb5497d296 100644 --- a/login-utils/su-common.c +++ b/login-utils/su-common.c @@ -671,7 +671,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"