]> granicus.if.org Git - libevent/commit
Add `argparse` support
authorEnji Cooper <yaneurabeya@gmail.com>
Fri, 27 Mar 2020 05:29:43 +0000 (22:29 -0700)
committerEnji Cooper <yaneurabeya@gmail.com>
Fri, 27 Mar 2020 17:35:46 +0000 (10:35 -0700)
commit4cde51b6787e60041703589a7a20046fae03cabe
treef5c0cc41b4f7f215bdeee6bcc3b36df177701727
parent23874cfcd5a53e9738872865a1cf8683a9cf302e
Add `argparse` support

This change converts raw parsing with `sys.argv` to its equivalent logic
with `argparse`.

It doesn't fully convert over all of the TODO items listed in the
comments, but it does provide some top-level structure which can be used
to drive down further improvements and structure.

Signed-off-by: Enji Cooper <yaneurabeya@gmail.com>
event_rpcgen.py