changelog shortlog tags branches files raw gz bz2 help

Mercurial > hg > ventivac / changeset: sync/improve usage

changeset 132: 9f0ab8812c19
parent 131: 19ac4db6c3dc
child 133: dccafdd3a92b
author: Mechiel Lukkien <mechiel@ueber.net>
date: Mon, 20 Aug 2007 14:58:51 +0200
files: appl/cmd/venti/parse.b appl/cmd/venti/ping.b man/1/venti man/4/vacfs
description: sync/improve usage
     1.1--- a/appl/cmd/venti/parse.b	Mon Aug 20 14:47:26 2007 +0200
     1.2+++ b/appl/cmd/venti/parse.b	Mon Aug 20 14:58:51 2007 +0200
     1.3@@ -38,7 +38,7 @@
     1.4 		* =>	arg->usage();
     1.5 		}
     1.6 	args = arg->argv();
     1.7-	if(len args >= 2)
     1.8+	if(len args > 1)
     1.9 		arg->usage();
    1.10 
    1.11 	d := read();
     2.1--- a/appl/cmd/venti/ping.b	Mon Aug 20 14:47:26 2007 +0200
     2.2+++ b/appl/cmd/venti/ping.b	Mon Aug 20 14:58:51 2007 +0200
     2.3@@ -27,7 +27,7 @@
     2.4 	venti->init();
     2.5 
     2.6 	arg->init(args);
     2.7-	arg->setusage(arg->progname() + " [-d] [-n count] [-a addr]");
     2.8+	arg->setusage(arg->progname() + " [-d] [-a addr] [-n count]");
     2.9 	while((c := arg->opt()) != 0)
    2.10 		case c {
    2.11 		'a' =>	addr = arg->earg();
     3.1--- a/man/1/venti	Mon Aug 20 14:47:26 2007 +0200
     3.2+++ b/man/1/venti	Mon Aug 20 14:58:51 2007 +0200
     3.3@@ -60,7 +60,7 @@
     3.4 .B -a
     3.5 .I addr
     3.6 ]
     3.7-.I entry:score
     3.8+.I [entry:]score
     3.9 .br
    3.10 .B venti/copy
    3.11 [
    3.12@@ -68,7 +68,7 @@
    3.13 ]
    3.14 .I srcaddr
    3.15 .I dstaddr
    3.16-.I tag:score
    3.17+.I [tag:]score
    3.18 .br
    3.19 .B venti/parse
    3.20 [
     4.1--- a/man/4/vacfs	Mon Aug 20 14:47:26 2007 +0200
     4.2+++ b/man/4/vacfs	Mon Aug 20 14:58:51 2007 +0200
     4.3@@ -23,16 +23,16 @@
     4.4 .B -D
     4.5 Print styx trace messages.
     4.6 .TP
     4.7+.BI -a " address"
     4.8+Dial
     4.9+.I address
    4.10+instead of the default venti server.
    4.11+.TP
    4.12 .B -d
    4.13 Print debug messages.
    4.14 .TP
    4.15 .B -p
    4.16 Disable permission checking.
    4.17-.TP
    4.18-.BI -a " address"
    4.19-Dial
    4.20-.I address
    4.21-instead of the default venti server.
    4.22 .SH SOURCE
    4.23 .B /appl/cmd/vacfs.b
    4.24 .SH SEE ALSO
    4.25@@ -44,4 +44,5 @@
    4.26 .SH BUGS
    4.27 Vacfs needs more testing.
    4.28 .br
    4.29-When the venti connection is broken, directories appear empty.
    4.30+When the venti connection is broken, directories appear empty.  This is due to
    4.31+.IR styxservers (2).