plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 9ee007320d55fc81d6d32019db13ed231464ad88
parent f7cca88267372c8a5a771923a19ea4f817113cf2
Author: David du Colombier <0intro@gmail.com>
Date:   Tue,  7 Jun 2011 14:52:25 -0400

venti: fix usage to match manuals

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4576041

Diffstat:
Msrc/cmd/venti/srv/buildindex.c | 2+-
Msrc/cmd/venti/srv/fmtarenas.c | 2+-
Msrc/cmd/venti/srv/fmtbloom.c | 2+-
Msrc/cmd/venti/srv/fmtindex.c | 2+-
Msrc/cmd/venti/srv/fmtisect.c | 2+-
Msrc/cmd/venti/srv/venti.c | 4++--
Msrc/cmd/venti/srv/wrarena.c | 2+-
7 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/cmd/venti/srv/buildindex.c b/src/cmd/venti/srv/buildindex.c @@ -50,7 +50,7 @@ static void arenapartproc(void*); void usage(void) { - fprint(2, "usage: buildindex [-b] [-i isect]... [-M imem] venti.conf\n"); + fprint(2, "usage: buildindex [-bd] [-i isect]... [-M imem] venti.conf\n"); threadexitsall("usage"); } diff --git a/src/cmd/venti/srv/fmtarenas.c b/src/cmd/venti/srv/fmtarenas.c @@ -5,7 +5,7 @@ void usage(void) { - fprint(2, "usage: fmtarenas [-Z] [-b blocksize] [-a arenasize] name file\n"); + fprint(2, "usage: fmtarenas [-4Z] [-a arenasize] [-b blocksize] name file\n"); threadexitsall(0); } diff --git a/src/cmd/venti/srv/fmtbloom.c b/src/cmd/venti/srv/fmtbloom.c @@ -7,7 +7,7 @@ Bloom b; void usage(void) { - fprint(2, "usage: fmtbloom [-s size] [-n nblocks | -N nhash] file\n"); + fprint(2, "usage: fmtbloom [-n nblocks | -N nhash] [-s size] file\n"); threadexitsall(0); } diff --git a/src/cmd/venti/srv/fmtindex.c b/src/cmd/venti/srv/fmtindex.c @@ -5,7 +5,7 @@ void usage(void) { - fprint(2, "usage: fmtindex [-a] config\n"); + fprint(2, "usage: fmtindex [-a] venti.conf\n"); threadexitsall(0); } diff --git a/src/cmd/venti/srv/fmtisect.c b/src/cmd/venti/srv/fmtisect.c @@ -5,7 +5,7 @@ void usage(void) { - fprint(2, "usage: fmtisect [-Z] [-b blocksize] name file\n"); + fprint(2, "usage: fmtisect [-1Z] [-b blocksize] name file\n"); threadexitsall(0); } diff --git a/src/cmd/venti/srv/venti.c b/src/cmd/venti/srv/venti.c @@ -18,8 +18,8 @@ static void ventiserver(void*); void usage(void) { - fprint(2, "usage: venti [-Ldrsw] [-a ventiaddr] [-c config] " -"[-h httpaddr] [-B blockcachesize] [-C cachesize] [-I icachesize] [-W webroot]\n"); + fprint(2, "usage: venti [-Ldrs] [-a address] [-B blockcachesize] [-c config] " +"[-C lumpcachesize] [-h httpaddress] [-I indexcachesize] [-W webroot]\n"); threadexitsall("usage"); } void diff --git a/src/cmd/venti/srv/wrarena.c b/src/cmd/venti/srv/wrarena.c @@ -24,7 +24,7 @@ struct ZClump void usage(void) { - fprint(2, "usage: wrarena [-h host] arenafile [offset]\n"); + fprint(2, "usage: wrarena [-o fileoffset] [-h host] arenafile [clumpoffset]\n"); threadexitsall("usage"); }