mirror of
https://github.com/docker/cli.git
synced 2026-01-16 20:22:36 +03:00
The shell builtin `compopt` is not available on the outdated bash version 3.2.57 that ships with Mac OS. It is used in Docker's bash completion to suppress trailing spaces in advanced completions of hash map options, e.g. `--log-opt`. If `compopt` is not available, the new behavior is to do nothing, i.e. the user will have to delete the additional space. Signed-off-by: Harald Albers <github@albersweb.de> Upstream-commit: 9d8f9943e99b87aa637921bbf582a767cbab6cf1 Component: engine