From owner-freebsd-geom@FreeBSD.ORG Mon Sep 20 22:50:03 2010 Return-Path: Delivered-To: freebsd-geom@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65E07106566C for ; Mon, 20 Sep 2010 22:50:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 555648FC1A for ; Mon, 20 Sep 2010 22:50:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id o8KMo3cb040146 for ; Mon, 20 Sep 2010 22:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id o8KMo3VW040145; Mon, 20 Sep 2010 22:50:03 GMT (envelope-from gnats) Date: Mon, 20 Sep 2010 22:50:03 GMT Message-Id: <201009202250.o8KMo3VW040145@freefall.freebsd.org> To: freebsd-geom@FreeBSD.org From: Alexander Best Cc: Subject: Re: bin/144521: [geom] geom(8) tool parsing non-subclass command broken X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Alexander Best List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 20 Sep 2010 22:50:03 -0000 The following reply was made to PR bin/144521; it has been noted by GNATS. From: Alexander Best 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