Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 06 May 2007 19:38:30 +0200
From:      Miroslav Lachman <000.fbsd@quip.cz>
To:        freebsd-geom@freebsd.org
Subject:   geom command with nonexistent class
Message-ID:  <463E1296.5060506@quip.cz>

next in thread | raw e-mail | index | archive | help
Hi,

if I try geom command with nonexistent class, geom prints its usage:

root@grimm2 ~/# geom blahblah
usage: geom blahblah help
        geom blahblah list [name ...]
        geom blahblah status [-s] [name ...]
        geom blahblah load [-v]
        geom blahblah unload [-v]

So it leads to confusing typing errors if somebody write bad class name, 
but geom prints it's usage instead of error message.

Is there any chance to fix it or is it "a feature"? Can geom find all 
available classes and print error if command is used with nonexistent one?

(FreeBSD 6.2-RELEASE-p4)

Miroslav Lachman



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