summaryrefslogtreecommitdiffstats
path: root/sbin/geom/class/mirror
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2006-09-30 14:40:50 +0000
committerpjd <pjd@FreeBSD.org>2006-09-30 14:40:50 +0000
commit929c7f22f0b6e3a506f8566c62f1b81bba901f3b (patch)
tree48fc64c8d21e557838e4000ad4c2c880109fb9ed /sbin/geom/class/mirror
parent0160abf37e504cadfab0fa306c38183ba8262fea (diff)
downloadFreeBSD-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/mirror')
-rw-r--r--sbin/geom/class/mirror/geom_mirror.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/sbin/geom/class/mirror/geom_mirror.c b/sbin/geom/class/mirror/geom_mirror.c
index 68f6606..2f9d5dc 100644
--- a/sbin/geom/class/mirror/geom_mirror.c
+++ b/sbin/geom/class/mirror/geom_mirror.c
@@ -64,11 +64,11 @@ struct g_command class_commands[] = {
},
{ "configure", G_FLAG_VERBOSE, NULL,
{
- { 'a', "autosync", NULL, G_TYPE_NONE },
+ { 'a', "autosync", NULL, G_TYPE_BOOL },
{ 'b', "balance", configure_balance, G_TYPE_STRING },
- { 'd', "dynamic", NULL, G_TYPE_NONE },
- { 'h', "hardcode", NULL, G_TYPE_NONE },
- { 'n', "noautosync", NULL, G_TYPE_NONE },
+ { 'd', "dynamic", NULL, G_TYPE_BOOL },
+ { 'h', "hardcode", NULL, G_TYPE_BOOL },
+ { 'n', "noautosync", NULL, G_TYPE_BOOL },
{ 's', "slice", &configure_slice, G_TYPE_NUMBER },
G_OPT_SENTINEL
},
@@ -86,8 +86,8 @@ struct g_command class_commands[] = {
{ "label", G_FLAG_VERBOSE, mirror_main,
{
{ 'b', "balance", label_balance, G_TYPE_STRING },
- { 'h', "hardcode", NULL, G_TYPE_NONE },
- { 'n', "noautosync", NULL, G_TYPE_NONE },
+ { 'h', "hardcode", NULL, G_TYPE_BOOL },
+ { 'n', "noautosync", NULL, G_TYPE_BOOL },
{ 's', "slice", &label_slice, G_TYPE_NUMBER },
G_OPT_SENTINEL
},
@@ -95,8 +95,8 @@ struct g_command class_commands[] = {
},
{ "insert", G_FLAG_VERBOSE, NULL,
{
- { 'h', "hardcode", NULL, G_TYPE_NONE },
- { 'i', "inactive", NULL, G_TYPE_NONE },
+ { 'h', "hardcode", NULL, G_TYPE_BOOL },
+ { 'i', "inactive", NULL, G_TYPE_BOOL },
{ 'p', "priority", &insert_priority, G_TYPE_NUMBER },
G_OPT_SENTINEL
},
@@ -110,7 +110,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 ..."
OpenPOWER on IntegriCloud