# [PATCH] git-merge: show usage if run without arguments

1 messages from 2006-10-21 to 2006-10-21. Participants: Rene Scharfe.
Thread: https://gitlist.dev/t/5989

## Rene Scharfe, 2006-10-21 18:51

Subject: [PATCH] git-merge: show usage if run without arguments
Message-ID: <453A6C18.70206@lsrfire.ath.cx>
URL: https://gitlist.dev/e/453A6C18.70206%40lsrfire.ath.cx

```
Signed-off-by: Rene Scharfe <rene.scharfe@lsrfire.ath.cx>

diff --git a/git-merge.sh b/git-merge.sh
index 49c46d5..cb09438 100755
--- a/git-merge.sh
+++ b/git-merge.sh
@@ -93,6 +93,8 @@ finish () {
 	esac
 }
 
+case "$#" in 0) usage ;; esac
+
 rloga=
 while case "$#" in 0) break ;; esac
 do

```
