[haiku-development] Re: Haiku command line apps

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 27 Apr 2008 22:30:37 +0200 CEST

"scott mc" <scottmc2@xxxxxxxxx> wrote:
> In going through the various parts of the system to check out ticket
> #1222, I have come across many different command line utilities.  
> It's
> easy to spot the ones from GNU, since the command line options
> --version or --help give useful information about the app.  Not so 
> for
> a lot of the other ones, this includes the Haiku specific ones.
> Programs such as alert, beep, copyattr, makebootable and others.  I
> figured I would float the idea on this list to see if perhaps we
> should add support for the --version and/or --help / -h options on 
> the
> Haiku specific command line apps.  I see that copyattr has the -h /
> --help, but no --version.  In some cases such as beep adding this
> option might double the size of the code ;)

I think there is little need for --version in code that comes from 
Haiku (you can always use "version my-bin-command", and that should be 
consistent with what --version delivers if it's there).
But I think all commands should support --help (and possibly -h, too).

Bye,
   Axel.


Other related posts: