Question on getopt()

Joshua Kosman kos at ernie.Berkeley.EDU
Mon Jul 21 13:01:49 AEST 1986


Anybody know an easy way to intercept, suppress or otherwise get rid of the
error message that getopt() issues when user supplies an illegal flag?
It seems uncharacteristically presumptuous -- I'll write my own "Usage:"
messages myself, thanks.


	Joshua Kosman
	kos at ernie.berkeley.EDU

	"Life is like a bowl of soup with hairs floating on it.
	You have to eat it nevertheless."   -- Flaubert



More information about the Comp.lang.c mailing list