Also improve some option descriptions here and there.
Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
{
fputs(USAGE_HEADER, out);
fprintf(out,
- _(" %s [options] <device> [...]\n"), program_invocation_short_name);
+ _(" %s [options] <device>...\n"), program_invocation_short_name);
fputs(USAGE_OPTIONS, out);
fputs(_(" -s, --show-size list size of a partition\n"
" -L, --Linux do not complain about things irrelevant for Linux\n"), out);
fputs(_(" -g, --show-geometry print the kernel's idea of the geometry\n"
" -G, --show-pt-geometry print geometry guessed from the partition table\n"), out);
- fputs(_(" -A, --activate[=<device>] activate bootable flag\n"
- " -U, --unhide[=<dev>] set partition unhidden\n"
+ fputs(_(" -A, --activate[=<device>] activate the bootable flag\n"
+ " -U, --unhide[=<device>] set partition as unhidden\n"
" -x, --show-extended also list extended partitions in the output,\n"
" or expect descriptors for them in the input\n"), out);
fputs(_(" --leave-last do not allocate the last cylinder\n"
static void __attribute__((__noreturn__)) usage(FILE *out)
{
fputs(USAGE_HEADER, out);
- fprintf(out, _(" %s [options] <pid|name> [...]\n"), program_invocation_short_name);
+ fprintf(out, _(" %s [options] <pid|name>...\n"), program_invocation_short_name);
fputs(USAGE_OPTIONS, out);
fputs(_(" -a, --all do not restrict the name-to-pid conversion to processes\n"
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.
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
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
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);
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);
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);
hexdump \- display file contents in ascii, decimal, hexadecimal, or octal
.SH SYNOPSIS
.B hexdump
-[options] file [...]
+.RI [options] file ...
.SH DESCRIPTION
The
.B hexdump