From 8f1a9bd575eb01da558132b6440103f5ec5ef0ed Mon Sep 17 00:00:00 2001 From: Nicolas Boisselier Date: Fri, 21 Aug 2015 17:28:25 +0100 Subject: [PATCH] git_create --- etc/profile.d/git.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/etc/profile.d/git.sh b/etc/profile.d/git.sh index 03be020a..20dcba22 100644 --- a/etc/profile.d/git.sh +++ b/etc/profile.d/git.sh @@ -15,6 +15,7 @@ git_commit_push_add() { GIT_CREATE_REPO='git@git.nbdom.net' git_create() { + shell_help_noarg "Usage: $FUNCNAME DIRECTORY" "$@" && return 1 declare dir="$1"; shift declare name="${dir}.git" # NB 30.07.15 declare name="${1%.git}" -- 2.47.3