mirror of https://github.com/docker/compose.git
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…
Reference in New Issue