command line options

Barry Shein bzs%bu-cs.bu.edu at buita.bu.edu
Mon Apr 11 13:30:25 AEST 1988


>
>   What's wrong with using "-help" as a special case? Perhaps even with
>   an option to pass it back and let the calling program handle the help,
>   actually that could be handled by just having getopt() define a
>   function usage() and letting the user define his/her own to override.
>
>Gag, choke. Too verbose. Options are one character.

But that's my whole point, this guarantees that "-help" is out of
band, no one can complain. But I'm not hung up on that, if someone has
a better non-meta char idea I'm all ears, -H comes to mind, or even -=
that's almost suggestive ("what do the - things equal?")

	-B



More information about the Comp.unix.wizards mailing list