git-merge: show usage if run without arguments
authorRene Scharfe <rene.scharfe@lsrfire.ath.cx>
Sat, 21 Oct 2006 18:51:04 +0000 (20:51 +0200)
committerJunio C Hamano <junkio@cox.net>
Sun, 22 Oct 2006 19:15:55 +0000 (12:15 -0700)
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-merge.sh

index 5b34b4de99c33a99dfb841795baced8889f74a88..789f4de595d2657c9c348b4d52b47e2c42543ad2 100755 (executable)
@@ -93,6 +93,8 @@ finish () {
        esac
 }
 
+case "$#" in 0) usage ;; esac
+
 rloga=
 while case "$#" in 0) break ;; esac
 do