Skip to content

Commit 3df8268

Browse files
committed
Fix EOL in phalcon-completion.bash
1 parent ece3071 commit 3df8268

File tree

1 file changed

+29
-29
lines changed

1 file changed

+29
-29
lines changed

phalcon-completion.bash

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,29 @@
1-
#!/usr/bin/env bash
2-
#
3-
# This file is part of the Phalcon Framework.
4-
#
5-
# (c) Phalcon Team <[email protected]>
6-
#
7-
# For the full copyright and license information, please view the
8-
# LICENSE.txt file that was distributed with this source code.
9-
10-
_phalcon()
11-
{
12-
local cur prev
13-
_get_comp_words_by_ref -n = cur prev
14-
15-
commands="commands list enumerate controller create-controller model \
16-
create-model all-models create-all-models project create-project scaffold \
17-
create-scaffold migration create-migration webtools create-webtools"
18-
19-
case "$prev" in
20-
project|create-project)
21-
COMPREPLY=($(compgen -W "--name --webtools --directory --type --template-path --use-config-ini --trace --help --namespace" -- "$cur"))
22-
return 0
23-
;;
24-
esac
25-
26-
COMPREPLY=($(compgen -W "$commands" -- "$cur"))
27-
28-
} &&
29-
complete -F _phalcon phalcon
1+
#!/usr/bin/env bash
2+
#
3+
# This file is part of the Phalcon Framework.
4+
#
5+
# (c) Phalcon Team <[email protected]>
6+
#
7+
# For the full copyright and license information, please view the
8+
# LICENSE.txt file that was distributed with this source code.
9+
10+
_phalcon()
11+
{
12+
local cur prev
13+
_get_comp_words_by_ref -n = cur prev
14+
15+
commands="commands list enumerate controller create-controller model \
16+
create-model all-models create-all-models project create-project scaffold \
17+
create-scaffold migration create-migration webtools create-webtools"
18+
19+
case "$prev" in
20+
project|create-project)
21+
COMPREPLY=($(compgen -W "--name --webtools --directory --type --template-path --use-config-ini --trace --help --namespace" -- "$cur"))
22+
return 0
23+
;;
24+
esac
25+
26+
COMPREPLY=($(compgen -W "$commands" -- "$cur"))
27+
28+
} &&
29+
complete -F _phalcon phalcon

0 commit comments

Comments
 (0)