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
_docker_project_manager_comp() {
_arguments '--pull[Pull the project]' \
'*:projects:_files -W /docker -/' \
_arguments '--pull[Pull the project(s)]' \
'*:project(s):_files -W /docker -/' \
+ '(action)' \
'--up[Start the project]' \
'--down[Stop the project]' \
'--restart[Restart the project]'
'--up[Start the project(s)]' \
'--down[Stop the project(s)]' \
'--restart[Restart the project(s)]'
}
_docker_project_manager_comp "$@"