diff options
author | marcel <marcel@FreeBSD.org> | 2007-05-15 20:25:18 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2007-05-15 20:25:18 +0000 |
commit | 40656d08513a31c921315a57a9bbd86878c991fa (patch) | |
tree | de4581799ddcced445b8a47904084798e54bf914 /sbin/geom/class/nop | |
parent | 8ea441aed588aa6eb59168cf5f54cf2931aaf6e1 (diff) | |
download | FreeBSD-src-40656d08513a31c921315a57a9bbd86878c991fa.zip FreeBSD-src-40656d08513a31c921315a57a9bbd86878c991fa.tar.gz |
Add gpart(8).
In order to support gpart(8), geom(8) needs to support a named
argument. Also, optional string parameters are a requirement.
Both have been added to the infrastructure. The former required
all existing classes to be adjusted.
Diffstat (limited to 'sbin/geom/class/nop')
-rw-r--r-- | sbin/geom/class/nop/geom_nop.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sbin/geom/class/nop/geom_nop.c b/sbin/geom/class/nop/geom_nop.c index e33ee54..7306add 100644 --- a/sbin/geom/class/nop/geom_nop.c +++ b/sbin/geom/class/nop/geom_nop.c @@ -56,8 +56,8 @@ struct g_command class_commands[] = { { 'w', "wfailprob", &wfailprob, G_TYPE_NUMBER }, G_OPT_SENTINEL }, - "[-v] [-e error] [-o offset] [-r rfailprob] [-s size] [-S secsize] " - "[-w wfailprob] dev ..." + NULL, "[-v] [-e error] [-o offset] [-r rfailprob] [-s size] " + "[-S secsize] [-w wfailprob] dev ..." }, { "configure", G_FLAG_VERBOSE, NULL, { @@ -66,16 +66,16 @@ struct g_command class_commands[] = { { 'w', "wfailprob", &wfailprob, G_TYPE_NUMBER }, G_OPT_SENTINEL }, - "[-v] [-e error] [-r rfailprob] [-w wfailprob] prov ..." + NULL, "[-v] [-e error] [-r rfailprob] [-w wfailprob] prov ..." }, { "destroy", G_FLAG_VERBOSE, NULL, { { 'f', "force", NULL, G_TYPE_BOOL }, G_OPT_SENTINEL }, - "[-fv] prov ..." + NULL, "[-fv] prov ..." }, - { "reset", G_FLAG_VERBOSE, NULL, G_NULL_OPTS, + { "reset", G_FLAG_VERBOSE, NULL, G_NULL_OPTS, NULL, "[-v] prov ..." }, G_CMD_SENTINEL |