Skip to content

Commit

Permalink
fix: syntax error near unexpected token 'then'
Browse files Browse the repository at this point in the history
  • Loading branch information
adoyle-h committed Jun 9, 2023
1 parent 3197e4d commit 502666b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion one-cmds/bin
Expand Up @@ -49,7 +49,7 @@ exit 0
usage_l() { usage_list; }

# one.bash:usage
if (( $# == 0 )) then
if (( $# == 0 )); then
usage;
elif [[ $1 == -h ]] || [[ $1 == --help ]]; then
if (( $# > 1 )); then usage_"$2"; else usage; fi
Expand Down
2 changes: 1 addition & 1 deletion one-cmds/plugin
Expand Up @@ -121,7 +121,7 @@ EOF
usage_w() { usage_which; }

# one.bash:usage
if (( $# == 0 )) then
if (( $# == 0 )); then
usage;
elif [[ $1 == -h ]] || [[ $1 == --help ]]; then
if (( $# > 1 )); then usage_"$2"; else usage; fi
Expand Down
2 changes: 1 addition & 1 deletion one-cmds/repo
Expand Up @@ -66,7 +66,7 @@ usage_l() { usage_list; }


# one.bash:usage
if (( $# == 0 )) then
if (( $# == 0 )); then
usage;
elif [[ $1 == -h ]] || [[ $1 == --help ]]; then
if (( $# > 1 )); then usage_"$2"; else usage; fi
Expand Down

0 comments on commit 502666b

Please sign in to comment.