]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
textual: remove square brackets from around three dots
authorBenno Schulenberg <bensberg@justemail.net>
Wed, 30 Apr 2014 08:38:12 +0000 (10:38 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 6 May 2014 09:12:13 +0000 (11:12 +0200)
Also improve some option descriptions here and there.

Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
disk-utils/sfdisk.c
misc-utils/kill.c
sys-utils/cytune.8
sys-utils/cytune.c
sys-utils/ipcrm.c
sys-utils/losetup.c
text-utils/hexdump.1

index bd32aa8a5af4207346d5bb8702ac772052ba0b04..3c55d5e3fe6e83b3d8dcaa7acb140c3b02f70a77 100644 (file)
@@ -2346,7 +2346,7 @@ static void usage(FILE * out)
 {
        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"
@@ -2378,8 +2378,8 @@ static void usage(FILE * out)
                " -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"
index b30b94fe4e3b93939a5ffb853d1a3c0af36de22a..5d2f27d09fc9395d5c735ebe818e75e589144597 100644 (file)
@@ -303,7 +303,7 @@ static int arg_to_signum(char *arg, int maskbit)
 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"
index 940fa28a4f33439be8e4eea87885fe2e92d722e7..3bf7afce32febd1f463408a4f1dd18acd8bcab24 100644 (file)
@@ -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
index 8a42f964eed9321849f52a321856bd24f2f79bdd..15529ff35057dcb4bc065f60b9182e65a7ca90f2 100644 (file)
@@ -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);
index 46c2997294faefbe4174b616cf0d64b585546268..aa58172d8edda6c8557cbfd132df9ddf5cbe76ba 100644 (file)
@@ -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);
index 85a15ac2fb66a4c58b57616dec883db28f8269cf..275ae45847719e976b780be03fb7e893f8dca509 100644 (file)
@@ -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 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);
 
index e48889b3aff2c584d90388b52bc1c94683d4ee23..624b8d3dc58b62d9e8ff26b9bed8ccfe46210cec 100644 (file)
@@ -36,7 +36,7 @@
 hexdump \- display file contents in ascii, decimal, hexadecimal, or octal
 .SH SYNOPSIS
 .B hexdump
-[options] file [...]
+.RI [options] file ...
 .SH DESCRIPTION
 The
 .B hexdump