Module Name: src
Committed By: wiz
Date: Wed Aug 10 12:13:20 UTC 2011
Modified Files:
src/sbin/newfs_v7fs: newfs_v7fs.c
Log Message:
Sync usage with man page.
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/sbin/newfs_v7fs/newfs_v7fs.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/newfs_v7fs/newfs_v7fs.c
diff -u src/sbin/newfs_v7fs/newfs_v7fs.c:1.2 src/sbin/newfs_v7fs/newfs_v7fs.c:1.3
--- src/sbin/newfs_v7fs/newfs_v7fs.c:1.2 Wed Aug 10 11:31:49 2011
+++ src/sbin/newfs_v7fs/newfs_v7fs.c Wed Aug 10 12:13:20 2011
@@ -1,4 +1,4 @@
-/* $NetBSD: newfs_v7fs.c,v 1.2 2011/08/10 11:31:49 uch Exp $ */
+/* $NetBSD: newfs_v7fs.c,v 1.3 2011/08/10 12:13:20 wiz Exp $ */
/*-
* Copyright (c) 2004, 2011 The NetBSD Foundation, Inc.
@@ -31,7 +31,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: newfs_v7fs.c,v 1.2 2011/08/10 11:31:49 uch Exp $");
+__RCSID("$NetBSD: newfs_v7fs.c,v 1.3 2011/08/10 12:13:20 wiz Exp $");
#endif /* not lint */
#include <sys/types.h>
@@ -233,10 +233,8 @@
usage(void)
{
- (void)fprintf(stderr, "usage: \n%s [-vP] [-n maxfile]"
- " [-B endian] special\n", getprogname());
- (void)fprintf(stderr, "%s -F -s partsize [-vPZ] [-n maxfile]"
- " [-B endian] file\n", getprogname());
+ (void)fprintf(stderr, "usage: \n%s [-FZ] [-B byte-order]"
+ " [-n inodes] [-s sectors] [-V verbose] special\n", getprogname());
exit(EXIT_FAILURE);
}