diff options
author | Dylan Baker <[email protected]> | 2014-11-19 13:36:35 -0800 |
---|---|---|
committer | Matt Turner <[email protected]> | 2015-05-22 11:31:27 -0700 |
commit | cf718cc964f86dc49c1fc9ed5e39aa5bd87ad931 (patch) | |
tree | 1b2614533557918c8a3ccaa22264539eff7c13b8 /src/mapi/glapi/gen/remap_helper.py | |
parent | b6298c7a7143eafea3c1be6e98af1d0239fdf5b7 (diff) |
glapi: gl_table.py: replace getopt with argparse.
This results in slightly less code, but code that is much more readable.
It has the advantage of putting everything together in one place, all of
the code is self documenting, help messages are auto-generated, choices
are automatically enforced, and the syntax is much less C like, taking
advantage of python features and idioms.
Signed-off-by: Dylan Baker <[email protected]>
Acked-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/mapi/glapi/gen/remap_helper.py')
0 files changed, 0 insertions, 0 deletions