aboutsummaryrefslogtreecommitdiff
path: root/stow/vim/.vim/ftplugin/sh/snippets/template.txt
diff options
context:
space:
mode:
Diffstat (limited to 'stow/vim/.vim/ftplugin/sh/snippets/template.txt')
-rw-r--r--stow/vim/.vim/ftplugin/sh/snippets/template.txt11
1 files changed, 7 insertions, 4 deletions
diff --git a/stow/vim/.vim/ftplugin/sh/snippets/template.txt b/stow/vim/.vim/ftplugin/sh/snippets/template.txt
index 245ff49..64d3a2e 100644
--- a/stow/vim/.vim/ftplugin/sh/snippets/template.txt
+++ b/stow/vim/.vim/ftplugin/sh/snippets/template.txt
@@ -7,17 +7,20 @@
usageMessage="Usage: template.sh [-ac] [-b OPTARG] FILE..."
# Process options
-while getopts ":ab:c" opt; do
+while getopts ':ab:c' opt; do
case $opt in
'a' )
- echo a ;;
+ echo a
+ ;;
'b' )
- echo b $OPTARG ;;
+ echo b $OPTARG
+ ;;
'c' )
- echo c ;;
+ echo c
+ ;;
'?' )
printf "${usageMessage}\n"