# [PATCH] fix git-revert command-line options

1 messages from 2006-08-03 to 2006-08-03. Participants: Michael.
Thread: https://gitlist.dev/t/5107

## Michael, 2006-08-03 15:42

Subject: [PATCH] fix git-revert command-line options
Message-ID: <200608031742.23170.barra_cuda@katamail.com>
URL: https://gitlist.dev/e/200608031742.23170.barra_cuda%40katamail.com

```
Signed-off-by: Michael <barra_cuda@katamail.com>
---
 git-revert.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/git-revert.sh b/git-revert.sh
index 2bf35d1..195c3ba 100755
--- a/git-revert.sh
+++ b/git-revert.sh
@@ -22,14 +22,14 @@ no_commit= replay=
 while case "$#" in 0) break ;; esac
 do
 	case "$1" in
-	-n|--n|--no|--no-|--no-c|--no-co|--no-com|--no-comm|\
+	-n|--no-c|--no-co|--no-com|--no-comm|\
 	    --no-commi|--no-commit)
 		no_commit=t
 		;;
 	-e|--e|--ed|--edi|--edit)
 		edit=-e
 		;;
-	--n|--no|--no-|--no-e|--no-ed|--no-edi|--no-edit)
+	--n|--no-e|--no-ed|--no-edi|--no-edit)
 		edit=
 		;;
 	-r|--r|--re|--rep|--repl|--repla|--replay)
-- 
1.4.1

```
