]> git.saurik.com Git - bison.git/commit
* src/getargs.c (usage): Take status as argument and exit
authorAkim Demaille <akim@epita.fr>
Sat, 19 Oct 2002 14:36:40 +0000 (14:36 +0000)
committerAkim Demaille <akim@epita.fr>
Sat, 19 Oct 2002 14:36:40 +0000 (14:36 +0000)
commit0e57572183811127b9cc88f25b6e87b3273d64f9
tree9c60d010b8ddd5c037673e47ff07918ce4f2b5d8
parent3a781eb26b9ec23aa1d8d7b5852b75ec360eb0b4
* src/getargs.c (usage): Take status as argument and exit
accordingly.
Report the traditional `Try ... --help' message when status != 0.
(usage, version): Don't take a FILE * as arg, it is pointless.
(getargs): When there is an incorrect number of arguments, make it
an error, and report it GNUlically thanks to `usage ()'.
ChangeLog
src/getargs.c