]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
chrt: (man) mark "argument" as optional, and unabbreviate it in usage
authorBenno Schulenberg <bensberg@telfort.nl>
Wed, 25 Jun 2025 08:09:48 +0000 (10:09 +0200)
committerKarel Zak <kzak@redhat.com>
Mon, 30 Jun 2025 12:09:03 +0000 (14:09 +0200)
Also, consistently uppercase "PID", to indicate it is an abbreviation,
and align the strings properly.

Signed-off-by: Benno Schulenberg <bensberg@telfort.nl>
schedutils/chrt.1.adoc
schedutils/chrt.c

index 17d683ba7b7bd09672d6b537cb6885e7731521d8..3f67b13bb2b047dd21b2c2ca0a358144c22115a5 100644 (file)
@@ -38,7 +38,7 @@ chrt - manipulate the real-time attributes of a process
 
 == SYNOPSIS
 
-*chrt* [options] _priority command argument_ ...
+*chrt* [options] _priority command_ [_argument_...]
 
 *chrt* [options] *--pid* [_priority_] _PID_
 
index 0bcdd1a1edc360407048b5cc9e44d9e34ec37f4b..550cefe4d5bc26b0dda7651cc5fca16694f6ab51 100644 (file)
@@ -60,11 +60,11 @@ static void __attribute__((__noreturn__)) usage(void)
        fputs(_("Show or change the real-time scheduling attributes of a process.\n"), out);
        fputs(USAGE_SEPARATOR, out);
        fputs(_("Set policy:\n"
-       " chrt [options] <priority> <command> [<arg>...]\n"
-       " chrt [options] --pid <priority> <pid>\n"), out);
+               " chrt [options] <priority> <command> [<argument>...]\n"
+               " chrt [options] --pid <priority> <PID>\n"), out);
        fputs(USAGE_SEPARATOR, out);
        fputs(_("Get policy:\n"
-       " chrt --pid <pid>\n"), out);
+               " chrt --pid <PID>\n"), out);
 
        fputs(USAGE_SEPARATOR, out);
        fputs(_("Policy options:\n"), out);