[PATCH 11/25] git-revert: Fix usage message
- From
freku045@student.liu.se <freku045@student.liu.se>
- Date
- Dec 10, 2005, 19:37 UTC
- Message-ID
- <11342434781344-git-send-email-freku045@student.liu.se>
- In-Reply-To
- <1134243476675-git-send-email-freku045@student.liu.se>
Also syncs the usage message in the documentation with the usage message in the implementation.
Signed-off-by: Fredrik Kuivinen <freku045@student.liu.se>
---
Documentation/git-revert.txt | 2 +- git-revert.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-)
3fbfe1e03eba7db1e484b7d00ac77820e6a11907
diff --git a/Documentation/git-revert.txt b/Documentation/git-revert.txt index e27c680..6684a60 100644 --- a/Documentation/git-revert.txt +++ b/Documentation/git-revert.txt @@ -7,7 +7,7 @@ git-revert - Revert an existing commit. SYNOPSIS -------- -'git-revert' [--edit | --no-edit] [-n] <commit> +'git-revert' [--edit | --no-edit] [-n | --no-commit] <commit> DESCRIPTION ----------- diff --git a/git-revert.sh b/git-revert.sh index 9d499c4..0a94344 100755 --- a/git-revert.sh +++ b/git-revert.sh @@ -19,10 +19,10 @@ esac usage () { case "$me" in cherry-pick) - die "usage git $me [--edit] [-n] [-r] <commit-ish>" + die "usage: $0 [--edit] [-n | --no-commit] [-r] <commit>" ;; revert) - die "usage git $me [--edit | --no-edit] [-n] <commit-ish>" + die "usage $0 [--edit | --no-edit] [-n | --no-commit] <commit>" ;; esac }
-- 0.99.9.GIT