diff options
Diffstat (limited to 'sbin/geom/class/raid3/geom_raid3.c')
-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 ..." |