util/gen_xmlpool: use argparse for argument handling
authorDylan Baker <dylan@pnwbakers.com>
Fri, 24 Aug 2018 13:28:41 +0000 (06:28 -0700)
committerDylan Baker <dylan@pnwbakers.com>
Wed, 31 Oct 2018 23:37:12 +0000 (16:37 -0700)
commit2857b18991f86940af5759664a961a24d90e3a47
tree633e7764ccef0a05ded7344ca21fdae406ba87a9
parent5b757b4097f3e1ceec29db04436970c510092126
util/gen_xmlpool: use argparse for argument handling

This is a little cleaner than just looking at sys.argv, but it's also
going to allow us to handle the differences in the way meson and
autotools handle translations more cleanly.

Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
src/util/xmlpool/gen_xmlpool.py