mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-27 11:52:03 +00:00
venti: fix usage to match manuals
R=rsc CC=plan9port.codebot http://codereview.appspot.com/4576041
This commit is contained in:
parent
f7cca88267
commit
9ee007320d
7 changed files with 8 additions and 8 deletions
|
@ -50,7 +50,7 @@ static void arenapartproc(void*);
|
||||||
void
|
void
|
||||||
usage(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");
|
threadexitsall("usage");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
void
|
void
|
||||||
usage(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);
|
threadexitsall(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -7,7 +7,7 @@ Bloom b;
|
||||||
void
|
void
|
||||||
usage(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);
|
threadexitsall(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
void
|
void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
fprint(2, "usage: fmtindex [-a] config\n");
|
fprint(2, "usage: fmtindex [-a] venti.conf\n");
|
||||||
threadexitsall(0);
|
threadexitsall(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
void
|
void
|
||||||
usage(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);
|
threadexitsall(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -18,8 +18,8 @@ static void ventiserver(void*);
|
||||||
void
|
void
|
||||||
usage(void)
|
usage(void)
|
||||||
{
|
{
|
||||||
fprint(2, "usage: venti [-Ldrsw] [-a ventiaddr] [-c config] "
|
fprint(2, "usage: venti [-Ldrs] [-a address] [-B blockcachesize] [-c config] "
|
||||||
"[-h httpaddr] [-B blockcachesize] [-C cachesize] [-I icachesize] [-W webroot]\n");
|
"[-C lumpcachesize] [-h httpaddress] [-I indexcachesize] [-W webroot]\n");
|
||||||
threadexitsall("usage");
|
threadexitsall("usage");
|
||||||
}
|
}
|
||||||
void
|
void
|
||||||
|
|
|
@ -24,7 +24,7 @@ struct ZClump
|
||||||
void
|
void
|
||||||
usage(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");
|
threadexitsall("usage");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue