tventi: fix usage to match manuals - plan9port - [fork] Plan 9 from user space | |
git clone git://src.adamsgaard.dk/plan9port | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit 9ee007320d55fc81d6d32019db13ed231464ad88 | |
parent f7cca88267372c8a5a771923a19ea4f817113cf2 | |
Author: David du Colombier <[email protected]> | |
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: | |
M src/cmd/venti/srv/buildindex.c | 2 +- | |
M src/cmd/venti/srv/fmtarenas.c | 2 +- | |
M src/cmd/venti/srv/fmtbloom.c | 2 +- | |
M src/cmd/venti/srv/fmtindex.c | 2 +- | |
M src/cmd/venti/srv/fmtisect.c | 2 +- | |
M src/cmd/venti/srv/venti.c | 4 ++-- | |
M 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 | |
t@@ -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\… | |
threadexitsall("usage"); | |
} | |
diff --git a/src/cmd/venti/srv/fmtarenas.c b/src/cmd/venti/srv/fmtarenas.c | |
t@@ -5,7 +5,7 @@ | |
void | |
usage(void) | |
{ | |
- fprint(2, "usage: fmtarenas [-Z] [-b blocksize] [-a arenasize] name fi… | |
+ fprint(2, "usage: fmtarenas [-4Z] [-a arenasize] [-b blocksize] name f… | |
threadexitsall(0); | |
} | |
diff --git a/src/cmd/venti/srv/fmtbloom.c b/src/cmd/venti/srv/fmtbloom.c | |
t@@ -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 | |
t@@ -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 | |
t@@ -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 | |
t@@ -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]… | |
+ fprint(2, "usage: venti [-Ldrs] [-a address] [-B blockcachesize] [-c c… | |
+"[-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 | |
t@@ -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 [clumpof… | |
threadexitsall("usage"); | |
} | |