Commit 6194d871 authored by Dave Jones's avatar Dave Jones Committed by Jaroslav Kysela

[PATCH] help texts for patch-kernel

parent e149ee4c
...@@ -46,6 +46,15 @@ sourcedir=${1-/usr/src/linux} ...@@ -46,6 +46,15 @@ sourcedir=${1-/usr/src/linux}
patchdir=${2-.} patchdir=${2-.}
stopvers=${3-imnotaversion} stopvers=${3-imnotaversion}
if [ "$1" = -h -o "$1" = --help -o ! -r "$sourcedir/Makefile" ]; then
cat << USAGE
usage: patch-kernel [-h] [ sourcedir [ patchdir [ stopversion ] [ -acxx ] ] ]
The source directory defaults to /usr/src/linux, and
the patch directory defaults to the current directory.
USAGE
exit 1
fi
# See if we have any -ac options # See if we have any -ac options
for PARM in $* for PARM in $*
do do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment