1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-13 10:02:38 +00:00

Reverse charnier's changes to usage.

This commit is contained in:
Robert Nordier 1998-07-16 12:24:51 +00:00
parent 16e80a4182
commit 4633bc16d2
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=37708

View File

@ -27,7 +27,7 @@
#ifndef lint
static const char rcsid[] =
"$Id: newfs_msdos.c,v 1.1.1.1 1998/07/06 20:01:34 rnordier Exp $";
"$Id: newfs_msdos.c,v 1.2 1998/07/15 06:30:38 charnier Exp $";
#endif /* not lint */
#include <sys/param.h>
@ -894,12 +894,30 @@ setstr(u_int8_t *dest, const char *src, size_t len)
static void
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n%s\n%s\n%s\n",
"usage: newfs_msdos [-N] [-B boot] [-F FAT-type] [-I volid] [-L label]",
" [-O OEM] [-S sector-size] [-a FAT-size] [-b block-size]",
" [-c cluster-size] [-e dirents] [-f format] [-h heads]",
" [-i info] [-k backup] [-m media] [-n FATs] [-o hidden]",
" [-r reserved] [-s total] [-u track-size]",
" special [disktype]");
fprintf(stderr,
"usage: newfs_msdos [ -options ] special [disktype]\n");
fprintf(stderr, "where the options are:\n");
fprintf(stderr, "\t-N don't create file system: "
"just print out parameters\n");
fprintf(stderr, "\t-B get bootstrap from file\n");
fprintf(stderr, "\t-F FAT type (12, 16, or 32)\n");
fprintf(stderr, "\t-I volume ID\n");
fprintf(stderr, "\t-L volume label\n");
fprintf(stderr, "\t-O OEM string\n");
fprintf(stderr, "\t-S bytes/sector\n");
fprintf(stderr, "\t-a sectors/FAT\n");
fprintf(stderr, "\t-b block size\n");
fprintf(stderr, "\t-c sectors/cluster\n");
fprintf(stderr, "\t-e root directory entries\n");
fprintf(stderr, "\t-f standard format\n");
fprintf(stderr, "\t-h drive heads\n");
fprintf(stderr, "\t-i file system info sector\n");
fprintf(stderr, "\t-k backup boot sector\n");
fprintf(stderr, "\t-m media descriptor\n");
fprintf(stderr, "\t-n number of FATs\n");
fprintf(stderr, "\t-o hidden sectors\n");
fprintf(stderr, "\t-r reserved sectors\n");
fprintf(stderr, "\t-s file system size (sectors)\n");
fprintf(stderr, "\t-u sectors/track\n");
exit(1);
}