glsl: Improve usage message for glsl_compiler
authorChad Versace <chad.versace@intel.com>
Wed, 17 Nov 2010 23:28:36 +0000 (15:28 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 17 Nov 2010 23:44:41 +0000 (15:44 -0800)
commit7819435f2ef484696560547fbc1325cb97c7174b
tree49bdd03d06aa4f831826a8fe500a8bde7372fb7f
parent007f4881503b69055d65cfb20bd237673779786b
glsl: Improve usage message for glsl_compiler

The new usage message lists possible command line options. (Newcomers to Mesa
currently have to trawl through the source to find the command line options,
and we should save them from that trouble.)

Example Output
--------------
usage: ./glsl_compiler [options] <file.vert | file.geom | file.frag>

Possible options are:
    --glsl-es
    --dump-ast
    --dump-hir
    --dump-lir
    --link
src/glsl/main.cpp