Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/dumpfs Sort options.
details: https://anonhg.NetBSD.org/src/rev/244098980fe7
branches: trunk
changeset: 752475:244098980fe7
user: wiz <wiz%NetBSD.org@localhost>
date: Sat Feb 27 10:49:58 2010 +0000
description:
Sort options.
diffstat:
usr.sbin/dumpfs/dumpfs.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (44 lines):
diff -r 9e875fcb8699 -r 244098980fe7 usr.sbin/dumpfs/dumpfs.c
--- a/usr.sbin/dumpfs/dumpfs.c Sat Feb 27 10:49:42 2010 +0000
+++ b/usr.sbin/dumpfs/dumpfs.c Sat Feb 27 10:49:58 2010 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: dumpfs.c,v 1.55 2010/02/27 09:53:33 mlelstv Exp $ */
+/* $NetBSD: dumpfs.c,v 1.56 2010/02/27 10:49:58 wiz Exp $ */
/*
* Copyright (c) 1983, 1992, 1993
@@ -39,7 +39,7 @@
#if 0
static char sccsid[] = "@(#)dumpfs.c 8.5 (Berkeley) 4/29/95";
#else
-__RCSID("$NetBSD: dumpfs.c,v 1.55 2010/02/27 09:53:33 mlelstv Exp $");
+__RCSID("$NetBSD: dumpfs.c,v 1.56 2010/02/27 10:49:58 wiz Exp $");
#endif
#endif /* not lint */
@@ -130,14 +130,14 @@
{
int ch, eval;
- while ((ch = getopt(argc, argv, "acimsjvF")) != -1)
+ while ((ch = getopt(argc, argv, "acijmsvF")) != -1)
switch(ch) {
case 'a': /* alternate superblocks */
case 'c': /* cylinder group info */
case 'i': /* actual inodes */
+ case 'j': /* journal */
case 'm': /* cylinder group summary */
case 's': /* superblock */
- case 'j': /* journal */
case 'v': /* more verbose */
opt_flags |= OPT_FLAG(ch);
break;
@@ -903,7 +903,7 @@
usage(void)
{
- (void)fprintf(stderr, "usage: dumpfs [-acFimsjv] filesys | device [...]\n");
+ (void)fprintf(stderr, "usage: dumpfs [-acFijmsv] filesys | device [...]\n");
exit(1);
}
Home |
Main Index |
Thread Index |
Old Index