glsl_compiler: Use no_argument instead of 0 in getopt_long options
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 9 Sep 2013 15:06:59 +0000 (10:06 -0500)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 7 Oct 2013 16:59:23 +0000 (09:59 -0700)
commit257db619c63a0474ea87749ed3e3fd681b3e58ea
treec90e7a2f933cdb72eaee9c915ecd969d2605877b
parent75e9bd13c4f1ca23256713b8fd6002f0a4b01c0f
glsl_compiler: Use no_argument instead of 0 in getopt_long options

The choices aren't just 0 and 1, so using the enum names is much more
clear.

Signed-off-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/main.cpp