Skip to content
This repository has been archived by the owner on Feb 10, 2024. It is now read-only.

Commit

Permalink
Fix error in getopts snippets
Browse files Browse the repository at this point in the history
  • Loading branch information
Janfy committed Mar 24, 2014
1 parent 7e1dd31 commit 1edd1ac
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion getopts-simple.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<content><![CDATA[
while getopts :${1:?}h
do
case option
case \$option in
${1})
${0:: #statements}
;;
Expand Down
2 changes: 1 addition & 1 deletion getopts.sublime-snippet
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<content><![CDATA[
while getopts :${1:?}a-:fqvh
do
case option
case \$option in
-)
if [[ \${!OPTIND} == -* ]]
then
Expand Down

0 comments on commit 1edd1ac

Please sign in to comment.