From: Jari Aalto Date: Mon, 04 Feb 2008 08:04:33 GMT Subject: [PATCH v3] git-rebase.sh: Update USAGE string Message-ID: In-Reply-To: <7vodaxpo0i.fsf@gitster.siamese.dyndns.org> Present the options in -s|--long (short, long) order. Mention merge and new whitespace option. Signed-off-by: Jari Aalto --- *********************************************************************** reworked patch (No. 3) *********************************************************************** [Junio C Hamano} >> [--whitespace=nowarn|warn|error|error-all|strip] > > I think that is probably the right thing to do in this case. It > is clear where the alternatives end, without adding extra > grouping, so it keeps the description easy to read. git-rebase.sh | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/git-rebase.sh b/git-rebase.sh index bdcea0e..6128455 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -3,7 +3,10 @@ # Copyright (c) 2005 Junio C Hamano. # -USAGE='[--interactive | -i] [-v] [--onto ] []' +USAGE='[-i|--interactive] [-v|--verbose] +[--whitespace=nowarn|warn|error|error-all|strip] +[-m|--merge] [--onto ] []' + LONG_USAGE='git-rebase replaces with a new branch of the same name. When the --onto option is provided the new branch starts out with a HEAD equal to , otherwise it is equal to -- 1.5.4-rc5.GIT-dirty