summaryrefslogtreecommitdiffstats
path: root/sbin/restore
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2005-02-10 09:19:34 +0000
committerru <ru@FreeBSD.org>2005-02-10 09:19:34 +0000
commit719be5d34133092608f2cb4b6a8acd6cf2c403c6 (patch)
treed6dac94023a6f3bfab88fb797e8cd641b0e912b2 /sbin/restore
parent7b37822a694ba18e94110b97e574dc91753e1d6c (diff)
downloadFreeBSD-src-719be5d34133092608f2cb4b6a8acd6cf2c403c6.zip
FreeBSD-src-719be5d34133092608f2cb4b6a8acd6cf2c403c6.tar.gz
Sync program's usage() with manpage's SYNOPSIS.
Diffstat (limited to 'sbin/restore')
-rw-r--r--sbin/restore/main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sbin/restore/main.c b/sbin/restore/main.c
index b2ace5d..22555ad 100644
--- a/sbin/restore/main.c
+++ b/sbin/restore/main.c
@@ -290,16 +290,16 @@ static void
usage()
{
const char *const common =
- "[-b blocksize] [-P pipecmd | -f file] [-s fileno]";
+ "[-b blocksize] [-f file | -P pipecommand] [-s fileno]";
const char *const fileell = "[file ...]";
(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 -x [-cdhmNuvy]", common, fileell,
- "restore -t [-cdhNuvy]", common, fileell);
+ "restore -r [-cdNuvy]", common,
+ "restore -t [-cdhNuvy]", common, fileell,
+ "restore -x [-cdhmNuvy]", common, fileell);
done(1);
}
OpenPOWER on IntegriCloud