diff --git a/.vim/templates/=template=.bash b/.vim/templates/=template=.bash index 4a6e4c00..55d5cf56 100644 --- a/.vim/templates/=template=.bash +++ b/.vim/templates/=template=.bash @@ -70,7 +70,7 @@ has() { # Core program functions printhelp() { cat << EOF -Usage: $_name [OPTION]... [FILE]... +Usage: $_name [OPTION]... -c [FILE] Load the given file in place of the usual config file -h Print this help text @@ -86,7 +86,7 @@ main() { # Parse out arguments while [ -n "$1" ]; do # Parse out flags - while getopts ":hv" opt; do + while getopts ":chv" opt; do case $opt in c) _optconfigfile="$OPTARG"