mirror of
https://github.com/docker/compose.git
synced 2025-07-21 20:54:32 +02:00
Fix bash completion for build --memory
- the option requires an argument - adds missing short form `-m` Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
3cddd1b670
commit
436a343a18
@ -110,11 +110,14 @@ _docker_compose_build() {
|
||||
__docker_compose_nospace
|
||||
return
|
||||
;;
|
||||
--memory|-m)
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
case "$cur" in
|
||||
-*)
|
||||
COMPREPLY=( $( compgen -W "--build-arg --compress --force-rm --help --memory --no-cache --pull --parallel" -- "$cur" ) )
|
||||
COMPREPLY=( $( compgen -W "--build-arg --compress --force-rm --help --memory -m --no-cache --pull --parallel" -- "$cur" ) )
|
||||
;;
|
||||
*)
|
||||
__docker_compose_complete_services --filter source=build
|
||||
|
Loading…
x
Reference in New Issue
Block a user