From: Andi Kleen Date: Wed, 7 Jan 2009 21:33:15 +0000 (+0100) Subject: kbuild: print usage with no arguments in scripts/config X-Git-Tag: MMI-PSA29.97-13-9~29751^2~1 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=2302e8730e5caa774e7c6702fc878404d71f13f9;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git kbuild: print usage with no arguments in scripts/config Requested by Sam. Signed-off-by: Andi Kleen Signed-off-by: Sam Ravnborg --- diff --git a/scripts/config b/scripts/config index 68b9761cdc38..db6084b78a10 100755 --- a/scripts/config +++ b/scripts/config @@ -60,6 +60,10 @@ else FN=.config fi +if [ "$1" = "" ] ; then + usage +fi + while [ "$1" != "" ] ; do CMD="$1" shift