Skip to content

Commit

Permalink
lib/cli: Fix for Bash syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Jan 15, 2022
1 parent 1f69714 commit 8e9c179
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/cli.bash
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function omb {

# Subcommand functions start with _ so that they don't
# appear as completion entries when looking for `omb`
(( $+functions[_omb::$command] )) || {
_omb_util_function_exists "_omb::$command" || {
_omb::help
return 1
}
Expand Down Expand Up @@ -54,7 +54,7 @@ function _omb {
esac
elif (( CURRENT == 4 )); then
case "${words[2]}::${words[3]}" in
plugin::(disable|enable|load))
plugin::@(disable|enable|load))
local -aU valid_plugins

if [[ "${words[3]}" = disable ]]; then
Expand Down

0 comments on commit 8e9c179

Please sign in to comment.