summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Vertes <mvertes@free.fr>2020-01-06 11:07:39 +0100
committerMarc Vertes <mvertes@free.fr>2020-01-06 11:07:39 +0100
commite520c17d913b0d9edfe20ebf65d28baf81518542 (patch)
treea7c2271b5524a4d77c7c39b4383bb4218dcc3b60
parent8f58c1c5ca2b4b8905d93b219317877fe75c54c5 (diff)
git-bip: display usage
-rwxr-xr-xbin/git-bip6
1 files changed, 4 insertions, 2 deletions
diff --git a/bin/git-bip b/bin/git-bip
index 2b1245e..1f38fec 100755
--- a/bin/git-bip
+++ b/bin/git-bip
@@ -1,6 +1,8 @@
-#!/bin/sh
+#!/bin/sh -e
-# create a git repo on bip
+case $1 in
+(-h|--help) echo "Usage: git-bip repo [desc] # create a git repo on bip"; exit ;;
+esac
ssh git@bip.im git init --bare "${1%.git}.git"