diff options
author | David du Colombier <0intro@gmail.com> | 2011-06-07 14:52:25 -0400 |
---|---|---|
committer | Russ Cox <rsc@swtch.com> | 2011-06-07 14:52:25 -0400 |
commit | 9ee007320d55fc81d6d32019db13ed231464ad88 (patch) | |
tree | 389f2896c619dae0c73736292950a75906b3ca41 /src/cmd/venti | |
parent | f7cca88267372c8a5a771923a19ea4f817113cf2 (diff) | |
download | plan9port-9ee007320d55fc81d6d32019db13ed231464ad88.tar.gz plan9port-9ee007320d55fc81d6d32019db13ed231464ad88.tar.bz2 plan9port-9ee007320d55fc81d6d32019db13ed231464ad88.zip |
venti: fix usage to match manuals
R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4576041
Diffstat (limited to 'src/cmd/venti')
-rw-r--r-- | src/cmd/venti/srv/buildindex.c | 2 | ||||
-rw-r--r-- | src/cmd/venti/srv/fmtarenas.c | 2 | ||||
-rw-r--r-- | src/cmd/venti/srv/fmtbloom.c | 2 | ||||
-rw-r--r-- | src/cmd/venti/srv/fmtindex.c | 2 | ||||
-rw-r--r-- | src/cmd/venti/srv/fmtisect.c | 2 | ||||
-rw-r--r-- | src/cmd/venti/srv/venti.c | 4 | ||||
-rw-r--r-- | src/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 index 08f0901a..95fb74b7 100644 --- 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 index f196f22d..04374304 100644 --- 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 index f700d781..76677871 100644 --- 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 index 2a5148ea..6ec0abe9 100644 --- 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 index 28b88de6..21b11164 100644 --- 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 index ce95c1fb..4d386ec9 100644 --- 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 index fee8e427..ea5bd164 100644 --- 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"); } |