From a064f065ee487dd0e5526b1a1e928da95b09236b Mon Sep 17 00:00:00 2001 From: Pawel Jakub Dawidek Date: Sat, 15 Jan 2005 13:02:50 +0000 Subject: [PATCH] Fix arguments syntax. Manual pages fixes by: ru MFC after: 3 days --- sbin/geom/class/concat/gconcat.8 | 22 +++++++-------------- sbin/geom/class/concat/geom_concat.c | 12 ++++++------ sbin/geom/class/label/geom_label.c | 12 ++++++------ sbin/geom/class/label/glabel.8 | 14 +++++--------- sbin/geom/class/mirror/geom_mirror.c | 20 +++++++++---------- sbin/geom/class/mirror/gmirror.8 | 29 ++++++++++------------------ sbin/geom/class/nop/geom_nop.c | 6 +++--- sbin/geom/class/nop/gnop.8 | 11 ++++------- sbin/geom/class/raid3/geom_raid3.c | 8 ++++---- sbin/geom/class/raid3/graid3.8 | 13 ++++--------- sbin/geom/class/shsec/geom_shsec.c | 8 ++++---- sbin/geom/class/shsec/gshsec.8 | 15 +++++--------- sbin/geom/class/stripe/geom_stripe.c | 12 ++++++------ sbin/geom/class/stripe/gstripe.8 | 22 +++++++-------------- 14 files changed, 81 insertions(+), 123 deletions(-) diff --git a/sbin/geom/class/concat/gconcat.8 b/sbin/geom/class/concat/gconcat.8 index fe5f56a854a5..6532e2669cc7 100644 --- a/sbin/geom/class/concat/gconcat.8 +++ b/sbin/geom/class/concat/gconcat.8 @@ -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 diff --git a/sbin/geom/class/concat/geom_concat.c b/sbin/geom/class/concat/geom_concat.c index c97027aa85fc..5bb64ec52dab 100644 --- a/sbin/geom/class/concat/geom_concat.c +++ b/sbin/geom/class/concat/geom_concat.c @@ -83,12 +83,12 @@ void usage(const char *name) { - fprintf(stderr, "usage: %s create [-v] [prov [...]]\n", name); - fprintf(stderr, " %s destroy [-fv] [name [...]]\n", name); - fprintf(stderr, " %s label [-hv] [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); + 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 diff --git a/sbin/geom/class/label/geom_label.c b/sbin/geom/class/label/geom_label.c index 1c301c3bdb5d..b0dfcd1920b4 100644 --- a/sbin/geom/class/label/geom_label.c +++ b/sbin/geom/class/label/geom_label.c @@ -77,12 +77,12 @@ void usage(const char *name) { - fprintf(stderr, "usage: %s create [-v] \n", name); - fprintf(stderr, " %s destroy [-fv] [name2 [...]]\n", name); - fprintf(stderr, " %s label [-v] \n", name); - fprintf(stderr, " %s stop [-fv] [name2 [...]]\n", name); - fprintf(stderr, " %s clear [-v] [dev2 [...]]\n", name); - fprintf(stderr, " %s dump [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 diff --git a/sbin/geom/class/label/glabel.8 b/sbin/geom/class/label/glabel.8 index 66b34ffd57ca..0b103448c72a 100644 --- a/sbin/geom/class/label/glabel.8 +++ b/sbin/geom/class/label/glabel.8 @@ -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 diff --git a/sbin/geom/class/mirror/geom_mirror.c b/sbin/geom/class/mirror/geom_mirror.c index 40c9a4846349..de24072621cb 100644 --- a/sbin/geom/class/mirror/geom_mirror.c +++ b/sbin/geom/class/mirror/geom_mirror.c @@ -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); } diff --git a/sbin/geom/class/mirror/gmirror.8 b/sbin/geom/class/mirror/gmirror.8 index 9efa9e6b8f34..33212bfa2e7d 100644 --- a/sbin/geom/class/mirror/gmirror.8 +++ b/sbin/geom/class/mirror/gmirror.8 @@ -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 diff --git a/sbin/geom/class/nop/geom_nop.c b/sbin/geom/class/nop/geom_nop.c index a5edfdeeb357..af6f2b921a92 100644 --- a/sbin/geom/class/nop/geom_nop.c +++ b/sbin/geom/class/nop/geom_nop.c @@ -73,7 +73,7 @@ void usage(const char *name) { - fprintf(stderr, "usage: %s create [-v] [-f failprob] [-o offset] [-s size] [-S secsize] [dev2 [...]]\n", name); - fprintf(stderr, " %s configure [-v] [-f failprob] [prov2 [...]]\n", name); - fprintf(stderr, " %s destroy [-fv] [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); } diff --git a/sbin/geom/class/nop/gnop.8 b/sbin/geom/class/nop/gnop.8 index 6b09a53454b5..99b15d474d12 100644 --- a/sbin/geom/class/nop/gnop.8 +++ b/sbin/geom/class/nop/gnop.8 @@ -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 diff --git a/sbin/geom/class/raid3/geom_raid3.c b/sbin/geom/class/raid3/geom_raid3.c index 14447ab56c14..7f944c316798 100644 --- a/sbin/geom/class/raid3/geom_raid3.c +++ b/sbin/geom/class/raid3/geom_raid3.c @@ -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); } diff --git a/sbin/geom/class/raid3/graid3.8 b/sbin/geom/class/raid3/graid3.8 index 4d8845838e75..c0b0dd4e37c6 100644 --- a/sbin/geom/class/raid3/graid3.8 +++ b/sbin/geom/class/raid3/graid3.8 @@ -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 diff --git a/sbin/geom/class/shsec/geom_shsec.c b/sbin/geom/class/shsec/geom_shsec.c index 368b71924260..35fe9fe4f42f 100644 --- a/sbin/geom/class/shsec/geom_shsec.c +++ b/sbin/geom/class/shsec/geom_shsec.c @@ -76,10 +76,10 @@ void usage(const char *name) { - fprintf(stderr, "usage: %s label [-hv] [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); + 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 diff --git a/sbin/geom/class/shsec/gshsec.8 b/sbin/geom/class/shsec/gshsec.8 index 64b1a13beb1b..092e6e8db9ba 100644 --- a/sbin/geom/class/shsec/gshsec.8 +++ b/sbin/geom/class/shsec/gshsec.8 @@ -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 diff --git a/sbin/geom/class/stripe/geom_stripe.c b/sbin/geom/class/stripe/geom_stripe.c index 251630f35d73..2ba362c3fe25 100644 --- a/sbin/geom/class/stripe/geom_stripe.c +++ b/sbin/geom/class/stripe/geom_stripe.c @@ -91,12 +91,12 @@ void usage(const char *name) { - fprintf(stderr, "usage: %s create [-hv] [-s stripesize] [prov [...]]\n", name); - fprintf(stderr, " %s destroy [-fv] [name [...]]\n", name); - fprintf(stderr, " %s label [-hv] [-s stripesize] [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); + 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 diff --git a/sbin/geom/class/stripe/gstripe.8 b/sbin/geom/class/stripe/gstripe.8 index 1564b90e64a5..107e8ccad7af 100644 --- a/sbin/geom/class/stripe/gstripe.8 +++ b/sbin/geom/class/stripe/gstripe.8 @@ -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