summaryrefslogtreecommitdiffstats
path: root/sys-utils
diff options
context:
space:
mode:
authorBenno Schulenberg2014-04-30 10:38:12 +0200
committerKarel Zak2014-05-06 11:12:13 +0200
commitaa06617f6ef8dceff939bdd233fa7df382344ecf (patch)
tree8b9561a85288311deb7ec26224cec964d17fcccb /sys-utils
parentdocs: grammarize the usage howto (diff)
downloadkernel-qcow2-util-linux-aa06617f6ef8dceff939bdd233fa7df382344ecf.tar.gz
kernel-qcow2-util-linux-aa06617f6ef8dceff939bdd233fa7df382344ecf.tar.xz
kernel-qcow2-util-linux-aa06617f6ef8dceff939bdd233fa7df382344ecf.zip
textual: remove square brackets from around three dots
Also improve some option descriptions here and there. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
Diffstat (limited to 'sys-utils')
-rw-r--r--sys-utils/cytune.88
-rw-r--r--sys-utils/cytune.c12
-rw-r--r--sys-utils/ipcrm.c8
-rw-r--r--sys-utils/losetup.c10
4 files changed, 19 insertions, 19 deletions
diff --git a/sys-utils/cytune.8 b/sys-utils/cytune.8
index 940fa28a4..3bf7afce3 100644
--- a/sys-utils/cytune.8
+++ b/sys-utils/cytune.8
@@ -29,7 +29,7 @@
cytune \- tune driver parameters for Cyclades-Z multiport serial card
.SH SYNOPSIS
.B cytune
-[options] tty [...]
+.RI [options] tty ...
.SH DESCRIPTION
.B cytune
queries and modifies the interruption threshold for the Cyclades driver.
@@ -136,8 +136,8 @@ next open. Only values between 0 and 255, inclusive, are permitted. Setting
to zero forces the default, currently 0x20 (160ms), but soon to be 0x02
(10ms). Units are 5 ms.
.TP
-\fB\-g\fR, \fB\-\-get\-threshold\fR
-Get the current threshold and timeout.
+\fB\-g\fR, \fB\-\-get-threshold\fR
+Get the current threshold and flush timeout values.
.TP
\fB\-S\fR, \fB\-\-set\-default\-threshold\fR \fIvalue\fR
Set the default threshold to
@@ -157,7 +157,7 @@ is next opened, this value will be used instead of the default. If
is zero, then the value will default to 0x20 (160ms), soon to be 0x02
(10ms).
.TP
-\fB\-G\fR, \fB\-\-get\-glush\fR
+\fB\-G\fR, \fB\-\-get-flush\fR
Get the default threshold and flush timeout values.
.TP
\fB\-q\fR, \fB\-\-stats\fR
diff --git a/sys-utils/cytune.c b/sys-utils/cytune.c
index 8a42f964e..15529ff35 100644
--- a/sys-utils/cytune.c
+++ b/sys-utils/cytune.c
@@ -89,14 +89,14 @@ static char ***global_argv;
static void __attribute__ ((__noreturn__)) usage(FILE * out)
{
fprintf(out, USAGE_HEADER);
- fprintf(out, _(" %s [options] <tty> [...]\n"), program_invocation_short_name);
+ fprintf(out, _(" %s [options] <tty>...\n"), program_invocation_short_name);
fprintf(out, USAGE_OPTIONS);
fprintf(out, _(" -s, --set-threshold <num> set interruption threshold value\n"));
- fprintf(out, _(" -g, --get-threshold display current threshold value\n"));
- fprintf(out, _(" -S, --set-default-threshold <num> set default threshold value\n"));
- fprintf(out, _(" -t, --set-flush <num> set flush timeout to value\n"));
- fprintf(out, _(" -G, --get-flush display default flush timeout value\n"));
- fprintf(out, _(" -T, --set-default-flush <num> set the default flush timeout to value\n"));
+ fprintf(out, _(" -g, --get-threshold display the current values\n"));
+ fprintf(out, _(" -S, --set-default-threshold <num> set the default threshold value\n"));
+ fprintf(out, _(" -t, --set-flush <num> set the flush timeout\n"));
+ fprintf(out, _(" -G, --get-flush display the default values\n"));
+ fprintf(out, _(" -T, --set-default-flush <num> set the default flush timeout\n"));
fprintf(out, _(" -q, --stats display statistics about the tty\n"));
fprintf(out, _(" -i, --interval <seconds> gather statistics every <seconds> interval\n"));
fprintf(out, USAGE_SEPARATOR);
diff --git a/sys-utils/ipcrm.c b/sys-utils/ipcrm.c
index 46c299729..aa58172d8 100644
--- a/sys-utils/ipcrm.c
+++ b/sys-utils/ipcrm.c
@@ -43,20 +43,20 @@ typedef enum type_id {
static int verbose = 0;
-/* print the new usage */
+/* print the usage */
static void __attribute__ ((__noreturn__)) usage(FILE * out)
{
fprintf(out, USAGE_HEADER);
fprintf(out, " %s [options]\n", program_invocation_short_name);
- fprintf(out, " %s <shm|msg|sem> <id> [...]\n", program_invocation_short_name);
+ fprintf(out, " %s shm|msg|sem <id>...\n", program_invocation_short_name);
fprintf(out, USAGE_OPTIONS);
- fputs(_(" -m, --shmem-id <id> remove shared memory segment by shmid\n"), out);
+ fputs(_(" -m, --shmem-id <id> remove shared memory segment by id\n"), out);
fputs(_(" -M, --shmem-key <key> remove shared memory segment by key\n"), out);
fputs(_(" -q, --queue-id <id> remove message queue by id\n"), out);
fputs(_(" -Q, --queue-key <key> remove message queue by key\n"), out);
fputs(_(" -s, --semaphore-id <id> remove semaphore by id\n"), out);
fputs(_(" -S, --semaphore-key <key> remove semaphore by key\n"), out);
- fputs(_(" -a, --all[=<shm|msg|sem>] remove all\n"), out);
+ fputs(_(" -a, --all[=shm|msg|sem] remove all (in the specified category)\n"), out);
fputs(_(" -v, --verbose explain what is being done\n"), out);
fprintf(out, USAGE_SEPARATOR);
fprintf(out, USAGE_HELP);
diff --git a/sys-utils/losetup.c b/sys-utils/losetup.c
index 85a15ac2f..275ae4584 100644
--- a/sys-utils/losetup.c
+++ b/sys-utils/losetup.c
@@ -372,18 +372,18 @@ static void usage(FILE *out)
fputs(USAGE_OPTIONS, out);
fputs(_(" -a, --all list all used devices\n"), out);
- fputs(_(" -d, --detach <loopdev> [...] detach one or more devices\n"), out);
+ fputs(_(" -d, --detach <loopdev>... detach one or more devices\n"), out);
fputs(_(" -D, --detach-all detach all used devices\n"), out);
fputs(_(" -f, --find find first unused device\n"), out);
- fputs(_(" -c, --set-capacity <loopdev> resize device\n"), out);
+ fputs(_(" -c, --set-capacity <loopdev> resize the device\n"), out);
fputs(_(" -j, --associated <file> list all devices associated with <file>\n"), out);
fputs(USAGE_SEPARATOR, out);
fputs(_(" -o, --offset <num> start at offset <num> into file\n"), out);
- fputs(_(" --sizelimit <num> device limited to <num> bytes of the file\n"), out);
- fputs(_(" -P, --partscan create partitioned loop device\n"), out);
- fputs(_(" -r, --read-only setup read-only loop device\n"), out);
+ fputs(_(" --sizelimit <num> device is limited to <num> bytes of the file\n"), out);
+ fputs(_(" -P, --partscan create a partitioned loop device\n"), out);
+ fputs(_(" -r, --read-only set up a read-only loop device\n"), out);
fputs(_(" --show print device name after setup (with -f)\n"), out);
fputs(_(" -v, --verbose verbose mode\n"), out);