Sample Header Ad - 728x90

How to specify -? option with GNU getopt

8 votes
3 answers
4178 views
When parsing command line arguments with GNU getopt command, how do I (if possible) do recognize -? as another option? Is there a way to escape it in the opstring?
Asked by Martín Schonaker (264 rep)
Jun 28, 2011, 01:14 AM
Last activity: Jun 19, 2024, 05:13 PM