[PATCH 2/2] chrt: (man) mark "argument" as optional, and unabbreviate it in usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Also, consistently uppercase "PID", to indicate it is an abbreviation,
and align the strings properly.

Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxx>
---
 schedutils/chrt.1.adoc | 2 +-
 schedutils/chrt.c      | 6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/schedutils/chrt.1.adoc b/schedutils/chrt.1.adoc
index 17d683ba7..3f67b13bb 100644
--- a/schedutils/chrt.1.adoc
+++ b/schedutils/chrt.1.adoc
@@ -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_
 
diff --git a/schedutils/chrt.c b/schedutils/chrt.c
index 0bcdd1a1e..550cefe4d 100644
--- a/schedutils/chrt.c
+++ b/schedutils/chrt.c
@@ -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);
-- 
2.48.1





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux