From patchwork Mon Jan 20 15:06:51 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Patrik Jakobsson X-Patchwork-Id: 3513241 Return-Path: X-Original-To: patchwork-ltsi-dev@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork2.web.kernel.org (Postfix) with ESMTP id 31D63C02DC for ; Mon, 20 Jan 2014 15:07:09 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 21D8A2010B for ; Mon, 20 Jan 2014 15:07:08 +0000 (UTC) Received: from mail.linuxfoundation.org (mail.linuxfoundation.org [140.211.169.12]) by mail.kernel.org (Postfix) with ESMTP id 13E2C20103 for ; Mon, 20 Jan 2014 15:07:07 +0000 (UTC) Received: from mail.linux-foundation.org (localhost [IPv6:::1]) by mail.linuxfoundation.org (Postfix) with ESMTP id DFD2C304; Mon, 20 Jan 2014 15:07:06 +0000 (UTC) X-Original-To: ltsi-dev@lists.linuxfoundation.org Delivered-To: ltsi-dev@mail.linuxfoundation.org Received: from smtp1.linuxfoundation.org (smtp1.linux-foundation.org [172.17.192.35]) by mail.linuxfoundation.org (Postfix) with ESMTP id A7DDD304 for ; Mon, 20 Jan 2014 15:07:05 +0000 (UTC) X-Greylist: whitelisted by SQLgrey-1.7.6 Received: from mail-la0-f50.google.com (mail-la0-f50.google.com [209.85.215.50]) by smtp1.linuxfoundation.org (Postfix) with ESMTPS id 90BF72018F for ; Mon, 20 Jan 2014 15:07:03 +0000 (UTC) Received: by mail-la0-f50.google.com with SMTP id ec20so5588721lab.37 for ; Mon, 20 Jan 2014 07:07:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=2Fg5YcKqbqtcS5O6Dx3/n/oCBV3+ZmpdNmRusJm+urM=; b=Rk99Kh9MelnGq0mp/EO/LHc1ijlAQuv5KT7JpywJQo+FLl3Q9+Wtvmc8QY8IdB7V8F YZcjyy71iHcEOLQ5Q+LxhyD0PzrjWRx9ziU1FlsKlRfsthAK4qFf7bwlacXpw7Oz9Mii SRcNwNYdwB8HRaL4e33gt9034ToDYAz+GVLXXXNTAK8tsDCH0G55wrBdm9NythcrxDz0 DGa1sQks+VW4ix2MID/QAjksJPPoCXojzROoU5FXAgTCuH1tmreJ4dKyUDnQcdAOWUsa WLjOQEx5p+5IVQTkPsEVLYD7e17KWpuLlv7QE8Jti92XmvauFUbfX0VLYpzCk6G6uptb vuWw== X-Received: by 10.112.141.225 with SMTP id rr1mr964970lbb.59.1390230421477; Mon, 20 Jan 2014 07:07:01 -0800 (PST) Received: from patrik-minnow.lan (h138n8-oer-a32.ias.bredband.telia.com. [2.248.103.138]) by mx.google.com with ESMTPSA id bo10sm1026260lbb.16.2014.01.20.07.07.01 for (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 20 Jan 2014 07:07:01 -0800 (PST) From: Patrik Jakobsson To: ltsi-dev@lists.linuxfoundation.org Date: Mon, 20 Jan 2014 16:06:51 +0100 Message-Id: <1390230411-7638-1-git-send-email-patrik.r.jakobsson@gmail.com> X-Mailer: git-send-email 1.8.3.2 X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED, FREEMAIL_FROM, RP_MATCHES_RCVD, T_DKIM_INVALID, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org Subject: [LTSI-dev] [PATCH] ltsi/scripts: Add usage information to generate_git X-BeenThere: ltsi-dev@lists.linuxfoundation.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: "A list to discuss patches, development, and other things related to the LTSI project" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: ltsi-dev-bounces@lists.linuxfoundation.org Errors-To: ltsi-dev-bounces@lists.linuxfoundation.org X-Virus-Scanned: ClamAV using ClamSMTP 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 --- scripts/generate_git | 8 ++++++++ 1 file changed, 8 insertions(+) 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