Message ID | 1390230411-7638-1-git-send-email-patrik.r.jakobsson@gmail.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
On Mon, Jan 20, 2014 at 04:06:51PM +0100, Patrik Jakobsson wrote: > 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> > --- > scripts/generate_git | 8 ++++++++ > 1 file changed, 8 insertions(+) Applied to all branches now, thanks. greg k-h
diff --git a/scripts/generate_git b/scripts/generate_git index 9cdaf37..1eb4462 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
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> --- scripts/generate_git | 8 ++++++++ 1 file changed, 8 insertions(+)