]> git.sur5r.net Git - u-boot/commit
cmd: efi_loader: Return CMD_RET_USAGE in case of not enough arguments
authorBin Meng <bmeng.cn@gmail.com>
Sat, 13 Aug 2016 11:02:06 +0000 (04:02 -0700)
committerTom Rini <trini@konsulko.com>
Sat, 20 Aug 2016 15:35:09 +0000 (11:35 -0400)
commit3c1dcef62adca0e0ff83ab925ca0b4b8c5fbc573
tree44b94aae32a3827f8df8fa763ab35747959f2a05
parenta391d5004ea381c3496c8dc3498031aeebdabc9a
cmd: efi_loader: Return CMD_RET_USAGE in case of not enough arguments

When typing 'bootefi' from U-Boot shell, nothing outputs. Like other
commands, return CMD_RET_USAGE so that it can print help message.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Alexander Graf <agraf@suse.de>
cmd/bootefi.c