diff options
author | pjd <pjd@FreeBSD.org> | 2006-09-30 14:40:50 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-09-30 14:40:50 +0000 |
commit | 929c7f22f0b6e3a506f8566c62f1b81bba901f3b (patch) | |
tree | 48fc64c8d21e557838e4000ad4c2c880109fb9ed /sbin/geom/class/stripe | |
parent | 0160abf37e504cadfab0fa306c38183ba8262fea (diff) | |
download | FreeBSD-src-929c7f22f0b6e3a506f8566c62f1b81bba901f3b.zip FreeBSD-src-929c7f22f0b6e3a506f8566c62f1b81bba901f3b.tar.gz |
MFp4: G_TYPE_BOOL sounds much better than G_TYPE_NONE.
Changes: 98722
Diffstat (limited to 'sbin/geom/class/stripe')
-rw-r--r-- | sbin/geom/class/stripe/geom_stripe.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sbin/geom/class/stripe/geom_stripe.c b/sbin/geom/class/stripe/geom_stripe.c index b0e8aa3..1e33643 100644 --- a/sbin/geom/class/stripe/geom_stripe.c +++ b/sbin/geom/class/stripe/geom_stripe.c @@ -66,7 +66,7 @@ struct g_command class_commands[] = { }, { "destroy", G_FLAG_VERBOSE, NULL, { - { 'f', "force", NULL, G_TYPE_NONE }, + { 'f', "force", NULL, G_TYPE_BOOL }, G_OPT_SENTINEL }, "[-fv] name ..." @@ -76,7 +76,7 @@ struct g_command class_commands[] = { }, { "label", G_FLAG_VERBOSE | G_FLAG_LOADKLD, stripe_main, { - { 'h', "hardcode", NULL, G_TYPE_NONE }, + { 'h', "hardcode", NULL, G_TYPE_BOOL }, { 's', "stripesize", &default_stripesize, G_TYPE_NUMBER }, G_OPT_SENTINEL }, @@ -84,7 +84,7 @@ struct g_command class_commands[] = { }, { "stop", G_FLAG_VERBOSE, NULL, { - { 'f', "force", NULL, G_TYPE_NONE }, + { 'f', "force", NULL, G_TYPE_BOOL }, G_OPT_SENTINEL }, "[-fv] name ..." |