Skip to content

Commit

Permalink
kbuild: print usage with no arguments in scripts/config
Browse files Browse the repository at this point in the history
Requested by Sam.

Signed-off-by: Andi Kleen <[email protected]>
Signed-off-by: Sam Ravnborg <[email protected]>
  • Loading branch information
Andi Kleen authored and sravnborg committed Jan 14, 2009
1 parent 2ea0389 commit 2302e87
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/config
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,10 @@ else
FN=.config
fi

if [ "$1" = "" ] ; then
usage
fi

while [ "$1" != "" ] ; do
CMD="$1"
shift
Expand Down

0 comments on commit 2302e87

Please sign in to comment.