diff options
author | Andi Kleen <andi@firstfloor.org> | 2009-01-07 16:33:15 -0500 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-01-14 15:40:49 -0500 |
commit | 2302e8730e5caa774e7c6702fc878404d71f13f9 (patch) | |
tree | 0014d110995ceee43e54028dcf4f8dd0355c74d1 /scripts/config | |
parent | 2ea038917bbdd51a7ae4a898c6a04641324dd033 (diff) |
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>
Diffstat (limited to 'scripts/config')
-rwxr-xr-x | scripts/config | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/config b/scripts/config index 68b9761cdc38..db6084b78a10 100755 --- a/scripts/config +++ b/scripts/config | |||
@@ -60,6 +60,10 @@ else | |||
60 | FN=.config | 60 | FN=.config |
61 | fi | 61 | fi |
62 | 62 | ||
63 | if [ "$1" = "" ] ; then | ||
64 | usage | ||
65 | fi | ||
66 | |||
63 | while [ "$1" != "" ] ; do | 67 | while [ "$1" != "" ] ; do |
64 | CMD="$1" | 68 | CMD="$1" |
65 | shift | 69 | shift |