Subject: Re: scan_ffs from OpenBSD ported and improved.
To: Hisashi T Fujinaka <>
From: None <>
List: tech-userlevel
Date: 06/10/2005 22:40:58
On Fri, Jun 10, 2005 at 10:19:10AM -0700, Hisashi T Fujinaka wrote:
> On Sat, 11 Jun 2005, Bang Jun-Young wrote:
> >Juan RP wrote:
> >>>- Most NetBSD utilities don't have '-h' for help, while this one does.
> >>
> >>Should "-h" be removed then?
> >
> >When you need help, man(1) is your friend. :-)
> >
> >I vote for removing '-h'.
> I'm piping in without reading the sources, but sometimes a quick -h is
> more informative than a confusing man page. Sometimes I just need a
> reminder as to which flags to use (lsof and tcpdump come to mind). OK,
> so those aren't NetBSD utilities, but you get the idea.
> I think newfs and disklabel or something were that way, too. I used the
> -h a lot this past week.

I didn't say '-h' is bad by itself, just that it's unconsistent with many
other utilities in the base system.

As said in another post, you can use '-?' instead (which is also the value
returned by getopt(3) when finding unknown options).

Julio M. Merino Vidal <>
The NetBSD Project -