venti: fix usage to match manuals

R=rsc
CC=plan9port.codebot
http://codereview.appspot.com/4576041
This commit is contained in:
David du Colombier 2011-06-07 14:52:25 -04:00 committed by Russ Cox
parent f7cca88267
commit 9ee007320d
7 changed files with 8 additions and 8 deletions

View file

@ -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");
}

View file

@ -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);
}

View file

@ -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);
}

View file

@ -5,7 +5,7 @@
void
usage(void)
{
fprint(2, "usage: fmtindex [-a] config\n");
fprint(2, "usage: fmtindex [-a] venti.conf\n");
threadexitsall(0);
}

View file

@ -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);
}

View file

@ -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

View file

@ -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");
}