Skip to content

Commit 2302e87

Browse files
Andi Kleensravnborg
authored andcommitted
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>
1 parent 2ea0389 commit 2302e87

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

‎scripts/config‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ else
6060
FN=.config
6161
fi
6262

63+
if [ "$1" = "" ] ; then
64+
usage
65+
fi
66+
6367
while [ "$1" != "" ] ; do
6468
CMD="$1"
6569
shift

0 commit comments

Comments
 (0)