summaryrefslogtreecommitdiff
path: root/libs/androidfw/Util.cpp
diff options
context:
space:
mode:
author Evan Laird <evanlaird@google.com> 2024-12-18 14:09:14 -0500
committer Evan Laird <evanlaird@google.com> 2024-12-18 14:12:17 -0500
commit1cf2557e7ed7beeea867f5dbc3e660f89280292a (patch)
treefa91bc4658d0b771daaa11feecce6f5078cbff2f /libs/androidfw/Util.cpp
parent950a47ab46362c24a54e92fe80d38f88e5042448 (diff)
[cli] allow for an empty arg list if nothing is required
Before, we treated an empty arg list as an error. I don't think this is necessary though. We can only invalidate an empty arg list if there are non-optional parsers attached. This allows for a completely optional command / subcommand structure that still calls `execute()` when given the empty arg list. Test: ParseableCommandTest Fixes: 384947066 Flag: EXEMPT bugfix Change-Id: I908c63bae089373f7b2181c0caae23eaa5f6022b
Diffstat (limited to 'libs/androidfw/Util.cpp')
0 files changed, 0 insertions, 0 deletions