diff options
Diffstat (limited to 'sbin/geom/core/geom.h')
-rw-r--r-- | sbin/geom/core/geom.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sbin/geom/core/geom.h b/sbin/geom/core/geom.h index 06b97a0..e4d94be 100644 --- a/sbin/geom/core/geom.h +++ b/sbin/geom/core/geom.h @@ -28,7 +28,7 @@ #ifndef _GEOM_H_ #define _GEOM_H_ -#define G_LIB_VERSION 0 +#define G_LIB_VERSION 1 #define G_FLAG_NONE 0x0000 #define G_FLAG_VERBOSE 0x0001 @@ -44,7 +44,7 @@ #define G_OPT_SENTINEL { '\0', NULL, NULL, G_TYPE_NONE } #define G_NULL_OPTS { G_OPT_SENTINEL } -#define G_CMD_SENTINEL { NULL, 0, NULL, G_NULL_OPTS } +#define G_CMD_SENTINEL { NULL, 0, NULL, G_NULL_OPTS, NULL } struct g_option { char go_char; @@ -58,5 +58,6 @@ struct g_command { unsigned gc_flags; void (*gc_func)(struct gctl_req *, unsigned); struct g_option gc_options[G_OPT_MAX]; + const char *gc_usage; }; #endif /* !_GEOM_H_ */ |