Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f350cda

Browse files
committed
Show supported versions in "phpvm" command
1 parent 4829ee5 commit f350cda

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

ansible/playbooks/ubuntu/11-php.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@
3030
esac
3131
3232
echo Usage: phpvm use \<php-version\>
33+
echo
34+
echo 'Supported versions: {{ ', '.join(php.versions) }}'
35+
echo
3336
echo 'Example1: phpvm use 5.6'
3437
echo ' then run "php --version" will get "PHP 5.6.x"'
3538
echo 'Example2: phpvm use 7.4'

0 commit comments

Comments
 (0)