mirror of
https://github.com/docker/compose.git
synced 2025-07-21 12:44:54 +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
|
__docker_compose_nospace
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
--memory|-m)
|
||||||
|
return
|
||||||
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
case "$cur" in
|
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
|
__docker_compose_complete_services --filter source=build
|
||||||
|
Loading…
x
Reference in New Issue
Block a user