]> git.dujemihanovic.xyz Git - u-boot.git/commit
binman: Give a sensible error if no command is given
authorSimon Glass <sjg@chromium.org>
Mon, 26 Oct 2020 23:40:02 +0000 (17:40 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:59 +0000 (14:42 -0600)
commit680e3c6edb9aa5cf400a5b22ecfa3a40b0b247e5
tree5589d1e5d6630bfa049e5859b694dd48f009063b
parentf2c0dd85ad6cbf8b53ad5fc423a0177a0eb7fe6f
binman: Give a sensible error if no command is given

At present if 'binman' is typed on the command line, a strange error about
a missing argument is displayed. Fix this.

These does not seem to be standard way to add the 'required' argument in
all recent Python versions, so set it manually.

Signed-off-by: Simon Glass <sjg@chromium.org>
tools/binman/cmdline.py