Skip to contentSkip to conversation

git-merge: show usage if run without arguments

PATCH New Rene Scharfe 1 participant 1 message Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 git-merge: show usage if run without arguments

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