[PATCH] fdisk: remove angle brackets from usage

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

 



Remove superfluous angle brackets and use square brackets
where appropriate to conform to the man page convention.

Signed-off-by: Phillip Susi <psusi@xxxxxxxxxx>
---
 fdisks/fdisk.c | 22 +++++++++++-----------
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/fdisks/fdisk.c b/fdisks/fdisk.c
index 874f9d1..3572c64 100644
--- a/fdisks/fdisk.c
+++ b/fdisks/fdisk.c
@@ -50,22 +50,22 @@ static void __attribute__ ((__noreturn__)) usage(FILE *out)
 	fputs(USAGE_HEADER, out);
 
 	fprintf(out,
-	      _(" %1$s [options] <disk>    change partition table\n"
-	        " %1$s [options] -l <disk> list partition table(s)\n"),
+	      _(" %1$s [options] [disk]    change partition table\n"
+	        " %1$s [options] -l [disk] list partition table(s)\n"),
 	       program_invocation_short_name);
 
 	fputs(USAGE_OPTIONS, out);
-	fputs(_(" -b <size>         sector size (512, 1024, 2048 or 4096)\n"), out);
-	fputs(_(" -c[=<mode>]       compatible mode: 'dos' or 'nondos' (default)\n"), out);
+	fputs(_(" -b size           sector size (512, 1024, 2048 or 4096)\n"), out);
+	fputs(_(" -c[=mode]         compatible mode: 'dos' or 'nondos' (default)\n"), out);
 	fputs(_(" -h                print this help text\n"), out);
-	fputs(_(" -c[=<mode>]       compatible mode: 'dos' or 'nondos' (default)\n"), out);
-	fputs(_(" -L[=<when>]       colorize output (auto, always or never)\n"), out);
-	fputs(_(" -t <type>         force fdisk to recognize specified partition table type only\n"), out);
-	fputs(_(" -u[=<unit>]       display units: 'cylinders' or 'sectors' (default)\n"), out);
+	fputs(_(" -c[=mode]         compatible mode: 'dos' or 'nondos' (default)\n"), out);
+	fputs(_(" -L[=when]         colorize output (auto, always or never)\n"), out);
+	fputs(_(" -t type           force fdisk to recognize specified partition table type only\n"), out);
+	fputs(_(" -u[=unit]         display units: 'cylinders' or 'sectors' (default)\n"), out);
 	fputs(_(" -v                print program version\n"), out);
-	fputs(_(" -C <number>       specify the number of cylinders\n"), out);
-	fputs(_(" -H <number>       specify the number of heads\n"), out);
-	fputs(_(" -S <number>       specify the number of sectors per track\n"), out);
+	fputs(_(" -C number         specify the number of cylinders\n"), out);
+	fputs(_(" -H number         specify the number of heads\n"), out);
+	fputs(_(" -S number         specify the number of sectors per track\n"), out);
 
 	fprintf(out, USAGE_MAN_TAIL("fdisk(8)"));
 	exit(out == stderr ? EXIT_FAILURE : EXIT_SUCCESS);
-- 
1.8.3.2

--
To unsubscribe from this list: send the line "unsubscribe util-linux" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[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