From fdb2394bacbf3534ab1e8e0f2cec672ded1261f2 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Sat, 18 May 2019 19:35:31 -0400 Subject: [PATCH] optarg fix --- voiddwm/vlarbs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voiddwm/vlarbs.sh b/voiddwm/vlarbs.sh index ee6fb1f..5dd3ed1 100644 --- a/voiddwm/vlarbs.sh +++ b/voiddwm/vlarbs.sh @@ -5,7 +5,7 @@ ### OPTIONS AND VARIABLES ### -while getopts ":r:p:h" o; do case "${o}" in +while getopts ":r:p:b:h" o; do case "${o}" in h) printf "Optional arguments for custom use:\\n -r: Dotfiles repository (local file or url)\\n -b: Dotfiles branch (master is assumed otherwise)\\n -p: Dependencies and programs csv (local file or url)\\n -h: Show this message\\n" && exit ;; r) dotfilesrepo=${OPTARG} && git ls-remote "$dotfilesrepo" || exit ;; b) repobranch=${OPTARG} ;;