summaryrefslogtreecommitdiff
path: root/git-revert.sh
diff options
context:
space:
mode:
authorPetr Baudis <pasky@suse.cz>2005-11-26 22:12:44 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-12-05 00:34:35 (GMT)
commit8bf14d6ef9245f3b81d24cb7725a868f62343277 (patch)
tree33000c6d02b51071235ff646aee16aa9a16f1474 /git-revert.sh
parent287f860054345505e4f737466279efa6c3ff04b5 (diff)
downloadgit-8bf14d6ef9245f3b81d24cb7725a868f62343277.zip
git-8bf14d6ef9245f3b81d24cb7725a868f62343277.tar.gz
git-8bf14d6ef9245f3b81d24cb7725a868f62343277.tar.bz2
Document the --(no-)edit switch of git-revert and git-cherry-pick
This switch was not documented properly. I decided not to mention the --no-edit switch in the git-cherry-pick documentation since we always default to no editing. Signed-off-by: Petr Baudis <pasky@suse.cz> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-revert.sh')
-rwxr-xr-xgit-revert.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/git-revert.sh b/git-revert.sh
index c1aebb1..5cb02b1 100755
--- a/git-revert.sh
+++ b/git-revert.sh
@@ -19,10 +19,10 @@ esac
usage () {
case "$me" in
cherry-pick)
- die "usage git $me [-n] [-r] <commit-ish>"
+ die "usage git $me [--edit] [-n] [-r] <commit-ish>"
;;
revert)
- die "usage git $me [-n] <commit-ish>"
+ die "usage git $me [--edit | --no-edit] [-n] <commit-ish>"
;;
esac
}