From: Pádraig Brady Date: Sun, 11 Jan 2026 18:37:33 +0000 (+0000) Subject: doc: runcon: use more accurate synopsis format X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5c238fcaddfdd52172a112a67cf5430a9604e6de;p=thirdparty%2Fcoreutils.git doc: runcon: use more accurate synopsis format * src/runcon.c (usage): Align synopsis with format used in other commands. * doc/coreutils.texi (runcon invocation): Likewise. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index 018dd3af69..e8b24f7680 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -16993,9 +16993,9 @@ Set range @var{range} in the target security context. Synopses: @example -runcon @var{context} @var{command} [@var{args}] -runcon [ -c ] [-u @var{user}] [-r @var{role}] [-t @var{type}]@c - [-l @var{range}] @var{command} [@var{args}] +runcon [@var{context} @var{command} [@var{arg}]@dots{}] +runcon [-c] [-u @var{user}] [-r @var{role}] [-t @var{type}]@c + [-l @var{range}] @var{command} [@var{arg}@dots{}] @end example Run @var{command} with completely-specified @var{context}, or with diff --git a/src/runcon.c b/src/runcon.c index 9bb265a707..f7313a752e 100644 --- a/src/runcon.c +++ b/src/runcon.c @@ -74,8 +74,8 @@ usage (int status) else { printf (_("\ -Usage: %s CONTEXT COMMAND [args]\n\ - or: %s [ -c ] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [args]\n\ +Usage: %s [CONTEXT COMMAND [ARG]...]\n\ + or: %s [-c] [-u USER] [-r ROLE] [-t TYPE] [-l RANGE] COMMAND [ARG]...\n\ "), program_name, program_name); fputs (_("\ Run a program in a different SELinux security context.\n\