pak_util: delete redundant error message code
This deletes a redundant block of code which manually checks arguments (this is already done by the argparse module). This resolves a bug, since this code references an undefined `actions` variable. Bug: 960598 Test: tools/grit/pak_util.py # useful help output Test: tools/grit/pak_util.py not-a-command # useful help output Test: tools/grit/pak_util.py repack # useful help output Change-Id: Idda7d8c16878c2cc99a1407eaeeb7c7d56f8d8d0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1600605 Commit-Queue: Andrew Grieve <agrieve@chromium.org> Reviewed-by:Andrew Grieve <agrieve@chromium.org> Cr-Commit-Position: refs/heads/master@{#657583}
Showing
Please register or sign in to comment