diff --git a/Scripts/Functions/cli.sh b/Scripts/Functions/cli.sh index 9fc34f1..ec33c31 100644 --- a/Scripts/Functions/cli.sh +++ b/Scripts/Functions/cli.sh @@ -77,10 +77,10 @@ function cli { # Define function name (FUNCNAM) variable from first command-line # argument. As convenction we use the first argument to determine # the exact name of functionality to call. - FUNCNAM=$(cli_getRepoName "$1" 'f') + FUNCNAM=$(cli_getRepoName $1 -f) # Define function directory. - FUNCDIRNAM=$(cli_getRepoName "$FUNCNAM" 'd') + FUNCDIRNAM=$(cli_getRepoName $FUNCNAM -d) # Define function file name. FUNCSCRIPT=${FUNCDIR}/${FUNCDIRNAM}/${FUNCNAM}.sh