From: Nicolas Boisselier Date: Fri, 21 Aug 2015 16:28:25 +0000 (+0100) Subject: git_create X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=8f1a9bd575eb01da558132b6440103f5ec5ef0ed;p=nb.git git_create --- 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}"