Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 20 Sep 2010 22:50:03 GMT
From:      Alexander Best <arundel@freebsd.org>
To:        freebsd-geom@FreeBSD.org
Subject:   Re: bin/144521: [geom] geom(8) tool parsing non-subclass command broken
Message-ID:  <201009202250.o8KMo3VW040145@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/144521; it has been noted by GNATS.

From: Alexander Best <arundel@freebsd.org>
To: bug-followup@freebsd.org
Cc:  
Subject: Re: bin/144521: [geom] geom(8) tool parsing non-subclass command broken
Date: Mon, 20 Sep 2010 22:47:11 +0000

 i've thought about this a bit and i think the current semantic is correct.
 
 `geom --help` should in fact return:
 
 usage: geom --help help
        geom --help list [name ...]
        geom --help status [-s] [name ...]
        geom --help load [-v]
        geom --help unload [-v]
 
 the reason is that although '--help' is not a class at the moment there might
 be a '--help.ko' somewhere. using 'geom --help load' one could load that
 module.
 
 the geom manual states that the other commands are only available if the class
 exists.
 
 cheers.
 alex
 
 -- 
 a13x



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009202250.o8KMo3VW040145>