Source-Changes-HG archive

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

[src/trunk]: src/sbin/fdisk Add missing -F flag and -I flag in usage. Sort t...



details:   https://anonhg.NetBSD.org/src/rev/f9de02606cf9
branches:  trunk
changeset: 771731:f9de02606cf9
user:      enami <enami%NetBSD.org@localhost>
date:      Fri Dec 02 04:05:20 2011 +0000

description:
Add missing -F flag and -I flag in usage.  Sort the order to match
manpage.

diffstat:

 sbin/fdisk/fdisk.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 48a05839eb38 -r f9de02606cf9 sbin/fdisk/fdisk.c
--- a/sbin/fdisk/fdisk.c        Fri Dec 02 03:04:11 2011 +0000
+++ b/sbin/fdisk/fdisk.c        Fri Dec 02 04:05:20 2011 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: fdisk.c,v 1.136 2011/12/02 03:04:11 christos Exp $ */
+/*     $NetBSD: fdisk.c,v 1.137 2011/12/02 04:05:20 enami Exp $ */
 
 /*
  * Mach Operating System
@@ -39,7 +39,7 @@
 #include <sys/cdefs.h>
 
 #ifndef lint
-__RCSID("$NetBSD: fdisk.c,v 1.136 2011/12/02 03:04:11 christos Exp $");
+__RCSID("$NetBSD: fdisk.c,v 1.137 2011/12/02 04:05:20 enami Exp $");
 #endif /* not lint */
 
 #define MBRPTYPENAMES
@@ -604,7 +604,7 @@
 {
        int indent = 7 + (int)strlen(getprogname()) + 1;
 
-       (void)fprintf(stderr, "usage: %s [-afiluvBS] "
+       (void)fprintf(stderr, "usage: %s [-aBFfIilSuv] "
                "[-A ptn_alignment[/ptn_0_offset]] \\\n"
                "%*s[-b cylinders/heads/sectors] \\\n"
                "%*s[-0123 | -E num "



Home | Main Index | Thread Index | Old Index