From 69a34464e19fe00cd7935c97ce292df16fa27733 Mon Sep 17 00:00:00 2001 From: Salt Date: Fri, 27 Mar 2020 08:24:17 -0500 Subject: [PATCH] Vim: Fix wrong getopts in bash template --- .vim/templates/=template=.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.vim/templates/=template=.bash b/.vim/templates/=template=.bash index 55d5cf56..501d3676 100644 --- a/.vim/templates/=template=.bash +++ b/.vim/templates/=template=.bash @@ -86,7 +86,7 @@ main() { # Parse out arguments while [ -n "$1" ]; do # Parse out flags - while getopts ":chv" opt; do + while getopts ":c:hv" opt; do case $opt in c) _optconfigfile="$OPTARG"