summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrik Jakobsson <patrik.r.jakobsson@gmail.com>2014-01-20 16:06:51 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2014-01-23 13:17:55 -0800
commit4de3209cc4955b089b2363f9bb102844198f9ded (patch)
tree9970a10c56c03a251da4e62e1aa7da3842a11de1
parente3b61b8a0c857b466df50da251adb7e02092fe9e (diff)
downloadlinux-3.10-4de3209cc4955b089b2363f9bb102844198f9ded.tar.gz
linux-3.10-4de3209cc4955b089b2363f9bb102844198f9ded.tar.bz2
linux-3.10-4de3209cc4955b089b2363f9bb102844198f9ded.zip
ltsi/scripts: Add usage information to generate_git
The README states there is a --help argument to the script but non existed, so here it is. The START environment variable isn't working properly (or I don't know how to properly use it) so it has not been included. Autoresume is probably what you want anyways. Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rwxr-xr-xscripts/generate_git8
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/generate_git b/scripts/generate_git
index 9cdaf37412a..1eb4462bca6 100755
--- a/scripts/generate_git
+++ b/scripts/generate_git
@@ -9,6 +9,14 @@
#
#
+if [ "$1" = "--help" ]; then
+ echo -e "Usage: `basename $0` [--help | -a]"
+ echo -e " If no options are specified the script assumes no LTSI branch has been created"
+ echo -e " [--help]\tShows usage information"
+ echo -e " [-a]\t\tAuto resume after last applied patch (skipping branch creation)"
+ exit 0
+fi
+
UPSTREAM="git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git"
if [ "$1" = "-a" ]; then
AUTORESUME=1