Vim: Fix wrong getopts in bash template
This commit is contained in:
parent
b4659528bf
commit
69a34464e1
@ -86,7 +86,7 @@ main() {
|
|||||||
# Parse out arguments
|
# Parse out arguments
|
||||||
while [ -n "$1" ]; do
|
while [ -n "$1" ]; do
|
||||||
# Parse out flags
|
# Parse out flags
|
||||||
while getopts ":chv" opt; do
|
while getopts ":c:hv" opt; do
|
||||||
case $opt in
|
case $opt in
|
||||||
c)
|
c)
|
||||||
_optconfigfile="$OPTARG"
|
_optconfigfile="$OPTARG"
|
||||||
|
Loading…
Reference in New Issue
Block a user