Sync usage and man page with reality. There's no '-c' command line

flag today.  Maybe we should still retain it, but I'll let others fight
that windmill.
This commit is contained in:
Warner Losh 2005-03-18 17:49:08 +00:00
parent cedc4e46c2
commit ecdd99f852
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=143817
2 changed files with 10 additions and 19 deletions

View file

@ -295,11 +295,11 @@ usage()
(void)fprintf(stderr, "usage:\t%s %s\n\t%s %s\n\t%s %s\n"
"\t%s %s %s\n\t%s %s %s\n",
"restore -i [-cdhmNuvy]", common,
"restore -R [-cdNuvy]", common,
"restore -r [-cdNuvy]", common,
"restore -t [-cdhNuvy]", common, fileell,
"restore -x [-cdhmNuvy]", common, fileell);
"restore -i [-dhmNuvy]", common,
"restore -R [-dNuvy]", common,
"restore -r [-dNuvy]", common,
"restore -t [-dhNuvy]", common, fileell,
"restore -x [-dhmNuvy]", common, fileell);
done(1);
}

View file

@ -38,32 +38,32 @@
.Sh SYNOPSIS
.Nm
.Fl i
.Op Fl cdhmNuvy
.Op Fl dhmNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file | Fl P Ar pipecommand
.Op Fl s Ar fileno
.Nm
.Fl R
.Op Fl cdNuvy
.Op Fl dNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file | Fl P Ar pipecommand
.Op Fl s Ar fileno
.Nm
.Fl r
.Op Fl cdNuvy
.Op Fl dNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file | Fl P Ar pipecommand
.Op Fl s Ar fileno
.Nm
.Fl t
.Op Fl cdhNuvy
.Op Fl dhNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file | Fl P Ar pipecommand
.Op Fl s Ar fileno
.Op Ar
.Nm
.Fl x
.Op Fl cdhmNuvy
.Op Fl dhmNuvy
.Op Fl b Ar blocksize
.Op Fl f Ar file | Fl P Ar pipecommand
.Op Fl s Ar fileno
@ -276,15 +276,6 @@ If the
option is not specified,
.Nm
tries to determine the media block size dynamically.
.It Fl c
Normally,
.Nm
will try to determine dynamically whether the dump was made from an
old (pre-4.4) or new format file system.
The
.Fl c
flag disables this check, and only allows reading a dump in the old
format.
.It Fl d
Sends verbose debugging output to the standard error.
.It Fl f Ar file