kbuild: print usage with no arguments in scripts/config

Requested by Sam.

Signed-off-by: Andi Kleen <ak@linux.intel.com>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
This commit is contained in:
Andi Kleen 2009-01-07 22:33:15 +01:00 committed by Sam Ravnborg
parent 2ea038917b
commit 2302e8730e

View File

@ -60,6 +60,10 @@ else
FN=.config
fi
if [ "$1" = "" ] ; then
usage
fi
while [ "$1" != "" ] ; do
CMD="$1"
shift