From 281873b87461daaf25414345a92e8e33b36b8bbd Mon Sep 17 00:00:00 2001 From: Karel Zak Date: Thu, 19 Jan 2017 12:01:51 +0100 Subject: runuser: add "--" to SYNOPSIS Signed-off-by: Karel Zak --- login-utils/runuser.1 | 2 +- login-utils/su-common.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'login-utils') diff --git a/login-utils/runuser.1 b/login-utils/runuser.1 index da7ade25a..40b6f9b3a 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 6a50222ef..fb5497d29 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" -- cgit v1.2.3-55-g7522