]> git.baikalelectronics.ru Git - uboot.git/commit
scripts/check-config.sh: Add usage()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 11 Dec 2018 16:22:28 +0000 (18:22 +0200)
committerTom Rini <trini@konsulko.com>
Wed, 26 Dec 2018 23:24:26 +0000 (18:24 -0500)
commit10d98d659ffa71b2c7edf58349df6e04a5d6592f
tree060e7dcfb0f59b4be429dcdf835e1ba1dc5d52b8
parent81d998ce187688c4b18eee2faae02fc9998a251b
scripts/check-config.sh: Add usage()

When arguments are not supplied the error message is misleading and
doesn't tell what exactly has to be done.

Fix this by adding usage() and call it if above circumstance occurs.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
scripts/check-config.sh