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/raid3 | |
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/raid3')
-rw-r--r-- | sbin/geom/class/raid3/geom_raid3.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sbin/geom/class/raid3/geom_raid3.c b/sbin/geom/class/raid3/geom_raid3.c index e8fa181..7e0d1d2 100644 --- a/sbin/geom/class/raid3/geom_raid3.c +++ b/sbin/geom/class/raid3/geom_raid3.c @@ -56,14 +56,14 @@ struct g_command class_commands[] = { }, { "configure", G_FLAG_VERBOSE, NULL, { - { 'a', "autosync", NULL, G_TYPE_NONE }, - { 'd', "dynamic", NULL, G_TYPE_NONE }, - { 'h', "hardcode", NULL, G_TYPE_NONE }, - { 'n', "noautosync", NULL, G_TYPE_NONE }, - { 'r', "round_robin", NULL, G_TYPE_NONE }, - { 'R', "noround_robin", NULL, G_TYPE_NONE }, - { 'w', "verify", NULL, G_TYPE_NONE }, - { 'W', "noverify", NULL, G_TYPE_NONE }, + { 'a', "autosync", NULL, G_TYPE_BOOL }, + { 'd', "dynamic", NULL, G_TYPE_BOOL }, + { 'h', "hardcode", NULL, G_TYPE_BOOL }, + { 'n', "noautosync", NULL, G_TYPE_BOOL }, + { 'r', "round_robin", NULL, G_TYPE_BOOL }, + { 'R', "noround_robin", NULL, G_TYPE_BOOL }, + { 'w', "verify", NULL, G_TYPE_BOOL }, + { 'W', "noverify", NULL, G_TYPE_BOOL }, G_OPT_SENTINEL }, "[-adhnrRvwW] name" @@ -73,7 +73,7 @@ struct g_command class_commands[] = { }, { "insert", G_FLAG_VERBOSE, NULL, { - { 'h', "hardcode", NULL, G_TYPE_NONE }, + { 'h', "hardcode", NULL, G_TYPE_BOOL }, { 'n', "number", NULL, G_TYPE_NUMBER }, G_OPT_SENTINEL }, @@ -81,10 +81,10 @@ struct g_command class_commands[] = { }, { "label", G_FLAG_VERBOSE, raid3_main, { - { 'h', "hardcode", NULL, G_TYPE_NONE }, - { 'n', "noautosync", NULL, G_TYPE_NONE }, - { 'r', "round_robin", NULL, G_TYPE_NONE }, - { 'w', "verify", NULL, G_TYPE_NONE }, + { 'h', "hardcode", NULL, G_TYPE_BOOL }, + { 'n', "noautosync", NULL, G_TYPE_BOOL }, + { 'r', "round_robin", NULL, G_TYPE_BOOL }, + { 'w', "verify", NULL, G_TYPE_BOOL }, G_OPT_SENTINEL }, "[-hnrvw] name prov prov prov ..." @@ -101,7 +101,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 ..." |