]> git.ipfire.org Git - thirdparty/suricata-update.git/commit
rework parser to support global options before subcommand
authorJason Ish <ish@unx.ca>
Thu, 7 Dec 2017 20:46:33 +0000 (14:46 -0600)
committerJason Ish <ish@unx.ca>
Thu, 7 Dec 2017 22:16:40 +0000 (16:16 -0600)
commitc0789ccf2b64ddc93d20ea2afb0585b4cece50e1
treed19a15d8054d9217a7b309836b3608ed814fc9ee
parent54f9dd0d0bde558468ed3230a815d2135d842d4c
rework parser to support global options before subcommand

Allows to do something like:
suricata-update --verbose update-sources
OR
suricata-update update-sources --verbose
having the same result.
suricata/update/main.py