Skip to content

Commit

Permalink
Fix EOL in phalcon-completion.bash
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeckerson committed Apr 9, 2021
1 parent ece3071 commit 3df8268
Showing 1 changed file with 29 additions and 29 deletions.
58 changes: 29 additions & 29 deletions phalcon-completion.bash
Original file line number Diff line number Diff line change
@@ -1,29 +1,29 @@
#!/usr/bin/env bash
#
# This file is part of the Phalcon Framework.
#
# (c) Phalcon Team <[email protected]>
#
# For the full copyright and license information, please view the
# LICENSE.txt file that was distributed with this source code.

_phalcon()
{
local cur prev
_get_comp_words_by_ref -n = cur prev

commands="commands list enumerate controller create-controller model \
create-model all-models create-all-models project create-project scaffold \
create-scaffold migration create-migration webtools create-webtools"

case "$prev" in
project|create-project)
COMPREPLY=($(compgen -W "--name --webtools --directory --type --template-path --use-config-ini --trace --help --namespace" -- "$cur"))
return 0
;;
esac

COMPREPLY=($(compgen -W "$commands" -- "$cur"))

} &&
complete -F _phalcon phalcon
#!/usr/bin/env bash
#
# This file is part of the Phalcon Framework.
#
# (c) Phalcon Team <[email protected]>
#
# For the full copyright and license information, please view the
# LICENSE.txt file that was distributed with this source code.

_phalcon()
{
local cur prev
_get_comp_words_by_ref -n = cur prev

commands="commands list enumerate controller create-controller model \
create-model all-models create-all-models project create-project scaffold \
create-scaffold migration create-migration webtools create-webtools"

case "$prev" in
project|create-project)
COMPREPLY=($(compgen -W "--name --webtools --directory --type --template-path --use-config-ini --trace --help --namespace" -- "$cur"))
return 0
;;
esac

COMPREPLY=($(compgen -W "$commands" -- "$cur"))

} &&
complete -F _phalcon phalcon

0 comments on commit 3df8268

Please sign in to comment.