Fix arguments syntax.

Manual pages fixes by:	ru
MFC after:		3 days
This commit is contained in:
pjd 2005-01-15 13:02:50 +00:00
parent 782f61552a
commit 1a16120a14
14 changed files with 81 additions and 123 deletions

View File

@ -35,38 +35,30 @@
.Cm create
.Op Fl v
.Ar name
.Ar prov
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov prov ...
.Nm
.Cm destroy
.Op Fl fv
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm label
.Op Fl hv
.Ar name
.Ar prov
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov prov ...
.Nm
.Cm stop
.Op Fl fv
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm clear
.Op Fl v
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm dump
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm list
.Op Ar name Op Ar ...
.Op Ar name ...
.Nm
.Cm load
.Op Fl v

View File

@ -83,12 +83,12 @@ void
usage(const char *name)
{
fprintf(stderr, "usage: %s create [-v] <name> <prov> <prov> [prov [...]]\n", name);
fprintf(stderr, " %s destroy [-fv] <name> [name [...]]\n", name);
fprintf(stderr, " %s label [-hv] <name> <prov> <prov> [prov [...]]\n", name);
fprintf(stderr, " %s stop [-fv] <name> [name [...]]\n", name);
fprintf(stderr, " %s clear [-v] <prov> [prov [...]]\n", name);
fprintf(stderr, " %s dump <prov> [prov [...]]\n", name);
fprintf(stderr, "usage: %s create [-v] name prov prov ...\n", name);
fprintf(stderr, " %s destroy [-fv] name ...\n", name);
fprintf(stderr, " %s label [-hv] name prov prov ...\n", name);
fprintf(stderr, " %s stop [-fv] name ...\n", name);
fprintf(stderr, " %s clear [-v] prov ...\n", name);
fprintf(stderr, " %s dump prov ...\n", name);
}
static void

View File

@ -77,12 +77,12 @@ void
usage(const char *name)
{
fprintf(stderr, "usage: %s create [-v] <name> <dev>\n", name);
fprintf(stderr, " %s destroy [-fv] <name> [name2 [...]]\n", name);
fprintf(stderr, " %s label [-v] <name> <dev>\n", name);
fprintf(stderr, " %s stop [-fv] <name> [name2 [...]]\n", name);
fprintf(stderr, " %s clear [-v] <dev1> [dev2 [...]]\n", name);
fprintf(stderr, " %s dump <dev1> [dev2 [...]]\n", name);
fprintf(stderr, "usage: %s create [-v] name dev\n", name);
fprintf(stderr, " %s destroy [-fv] name ...\n", name);
fprintf(stderr, " %s label [-v] name dev\n", name);
fprintf(stderr, " %s stop [-fv] name ...\n", name);
fprintf(stderr, " %s clear [-v] dev ...\n", name);
fprintf(stderr, " %s dump dev ...\n", name);
}
static void

View File

@ -39,8 +39,7 @@
.Nm
.Cm destroy
.Op Fl fv
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm label
.Op Fl v
@ -49,20 +48,17 @@
.Nm
.Cm stop
.Op Fl fv
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm clear
.Op Fl v
.Ar dev
.Op Ar dev Op Ar ...
.Ar dev ...
.Nm
.Cm dump
.Ar dev
.Op Ar dev Op Ar ...
.Ar dev ...
.Nm
.Cm list
.Op Ar prov Op Ar ...
.Op Ar prov ...
.Nm
.Cm load
.Op Fl v

View File

@ -107,17 +107,17 @@ void
usage(const char *comm)
{
fprintf(stderr,
"usage: %s label [-hnv] [-b balance] [-s slice] name prov [prov [...]]\n"
" %s clear [-v] prov [prov [...]]\n"
" %s dump prov [prov [...]]\n"
"usage: %s label [-hnv] [-b balance] [-s slice] name prov ...\n"
" %s clear [-v] prov ...\n"
" %s dump prov ...\n"
" %s configure [-adhnv] [-b balance] [-s slice] name\n"
" %s rebuild [-v] name prov [prov [...]]\n"
" %s insert [-hiv] [-p priority] name prov [prov [...]]\n"
" %s remove [-v] name prov [prov [...]]\n"
" %s activate [-v] name prov [prov [...]]\n"
" %s deactivate [-v] name prov [prov [...]]\n"
" %s forget name [name [...]]\n"
" %s stop [-fv] name [...]\n",
" %s rebuild [-v] name prov ...\n"
" %s insert [-hiv] [-p priority] name prov ...\n"
" %s remove [-v] name prov ...\n"
" %s activate [-v] name prov ...\n"
" %s deactivate [-v] name prov ...\n"
" %s forget name ...\n"
" %s stop [-fv] name ...\n",
comm, comm, comm, comm, comm, comm, comm, comm, comm, comm, comm);
}

View File

@ -37,13 +37,11 @@
.Op Fl b Ar balance
.Op Fl s Ar slice
.Ar name
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm clear
.Op Fl v
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm configure
.Op Fl adhnv
@ -54,46 +52,39 @@
.Cm rebuild
.Op Fl v
.Ar name
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm insert
.Op Fl hiv
.Op Fl p Ar priority
.Ar name
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm remove
.Op Fl v
.Ar name
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm activate
.Op Fl v
.Ar name
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm deactivate
.Op Fl v
.Ar name
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm forget
.Op Fl v
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm stop
.Op Fl fv
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm list
.Op Ar name Op Ar ...
.Op Ar name ...
.Nm
.Cm load
.Op Fl v

View File

@ -73,7 +73,7 @@ void
usage(const char *name)
{
fprintf(stderr, "usage: %s create [-v] [-f failprob] [-o offset] [-s size] [-S secsize] <dev1> [dev2 [...]]\n", name);
fprintf(stderr, " %s configure [-v] [-f failprob] <prov1> [prov2 [...]]\n", name);
fprintf(stderr, " %s destroy [-fv] <prov1> [prov2 [...]]\n", name);
fprintf(stderr, "usage: %s create [-v] [-f failprob] [-o offset] [-s size] [-S secsize] dev ...\n", name);
fprintf(stderr, " %s configure [-v] [-f failprob] prov ...\n", name);
fprintf(stderr, " %s destroy [-fv] prov ...\n", name);
}

View File

@ -38,22 +38,19 @@
.Op Fl o Ar offset
.Op Fl s Ar size
.Op Fl S Ar secsize
.Ar dev1
.Op Ar dev2 Op Ar ...
.Ar dev ...
.Nm
.Cm configure
.Op Fl v
.Op Fl f Ar failprob
.Ar prov1
.Op Ar prov2 Op Ar ...
.Ar prov ...
.Nm
.Cm destroy
.Op Fl fv
.Ar prov1
.Op Ar prov2 Op Ar ...
.Ar prov ...
.Nm
.Cm list
.Op Ar prov Op Ar ...
.Op Ar prov ...
.Nm
.Cm load
.Op Fl v

View File

@ -105,14 +105,14 @@ void
usage(const char *comm)
{
fprintf(stderr,
"usage: %s label [-hnrvw] name prov prov prov [prov [...]]\n"
" %s clear [-v] prov [prov [...]]\n"
" %s dump prov [prov [...]]\n"
"usage: %s label [-hnrvw] name prov prov prov ...\n"
" %s clear [-v] prov ...\n"
" %s dump prov ...\n"
" %s configure [-adhnrRvwW] name\n"
" %s rebuild [-v] name prov\n"
" %s insert [-hv] <-n number> name prov\n"
" %s remove [-v] <-n number> name\n"
" %s stop [-fv] name [...]\n",
" %s stop [-fv] name ...\n",
comm, comm, comm, comm, comm, comm, comm, comm);
}

View File

@ -35,15 +35,11 @@
.Cm label
.Op Fl hnrvw
.Ar name
.Ar prov
.Ar prov
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov prov prov ...
.Nm
.Cm clear
.Op Fl v
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm configure
.Op Fl adhnrRvwW
@ -67,11 +63,10 @@
.Nm
.Cm stop
.Op Fl fv
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm list
.Op Ar name Op Ar ...
.Op Ar name ...
.Nm
.Cm load
.Op Fl v

View File

@ -76,10 +76,10 @@ void
usage(const char *name)
{
fprintf(stderr, "usage: %s label [-hv] <name> <prov> <prov> [prov [...]]\n", name);
fprintf(stderr, " %s stop [-fv] <name> [name [...]]\n", name);
fprintf(stderr, " %s clear [-v] <prov> [prov [...]]\n", name);
fprintf(stderr, " %s dump <prov> [prov [...]]\n", name);
fprintf(stderr, "usage: %s label [-hv] name prov prov ...\n", name);
fprintf(stderr, " %s stop [-fv] name ...\n", name);
fprintf(stderr, " %s clear [-v] prov ...\n", name);
fprintf(stderr, " %s dump prov ...\n", name);
}
static void

View File

@ -35,26 +35,21 @@
.Cm label
.Op Fl hv
.Ar name
.Ar prov
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov prov ...
.Nm
.Cm stop
.Op Fl fv
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm clear
.Op Fl v
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm dump
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm list
.Op Ar name Op Ar ...
.Op Ar name ...
.Nm
.Cm load
.Op Fl v

View File

@ -91,12 +91,12 @@ void
usage(const char *name)
{
fprintf(stderr, "usage: %s create [-hv] [-s stripesize] <name> <prov> <prov> [prov [...]]\n", name);
fprintf(stderr, " %s destroy [-fv] <name> [name [...]]\n", name);
fprintf(stderr, " %s label [-hv] [-s stripesize] <name> <prov> <prov> [prov [...]]\n", name);
fprintf(stderr, " %s stop [-fv] <name> [name [...]]\n", name);
fprintf(stderr, " %s clear [-v] <prov> [prov [...]]\n", name);
fprintf(stderr, " %s dump <prov> [prov [...]]\n", name);
fprintf(stderr, "usage: %s create [-hv] [-s stripesize] name prov prov ...\n", name);
fprintf(stderr, " %s destroy [-fv] name ...\n", name);
fprintf(stderr, " %s label [-hv] [-s stripesize] name prov prov ...\n", name);
fprintf(stderr, " %s stop [-fv] name ...\n", name);
fprintf(stderr, " %s clear [-v] prov ...\n", name);
fprintf(stderr, " %s dump prov ...\n", name);
}
static void

View File

@ -36,39 +36,31 @@
.Op Fl v
.Op Fl s Ar stripesize
.Ar name
.Ar prov
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov prov ...
.Nm
.Cm destroy
.Op Fl fv
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm label
.Op Fl hv
.Op Fl s Ar stripesize
.Ar name
.Ar prov
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov prov ...
.Nm
.Cm stop
.Op Fl fv
.Ar name
.Op Ar name Op Ar ...
.Ar name ...
.Nm
.Cm clear
.Op Fl v
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm dump
.Ar prov
.Op Ar prov Op Ar ...
.Ar prov ...
.Nm
.Cm list
.Op Ar name Op Ar ...
.Op Ar name ...
.Nm
.Cm load
.Op Fl v