Browse Source

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>
Andi Kleen 16 years ago
parent
commit
2302e8730e
1 changed files with 4 additions and 0 deletions
  1. 4 0
      scripts/config

+ 4 - 0
scripts/config

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