Reword completion help to better indicate multiple projects can be specified at the same time

This commit is contained in:
Chris King
2025-01-23 09:03:03 -08:00
parent d69ca06568
commit e9d7a9f345

View File

@@ -1,12 +1,12 @@
#compdef docker-project-manager #compdef docker-project-manager
_docker_project_manager_comp() { _docker_project_manager_comp() {
_arguments '--pull[Pull the project]' \ _arguments '--pull[Pull the project(s)]' \
'*:projects:_files -W /docker -/' \ '*:project(s):_files -W /docker -/' \
+ '(action)' \ + '(action)' \
'--up[Start the project]' \ '--up[Start the project(s)]' \
'--down[Stop the project]' \ '--down[Stop the project(s)]' \
'--restart[Restart the project]' '--restart[Restart the project(s)]'
} }
_docker_project_manager_comp "$@" _docker_project_manager_comp "$@"