mirror of
https://github.com/docker/cli.git
synced 2026-09-04 02:24:44 -05:00
fe2d726b98878278ee7d64127ee15790cfc979f4
Unfortunately, `(f)` aka `(ps:\n:)` flag will not create an array when there is only one line. The subsequent use of indexes will then affect the string. This leads to `docker rmi <tab>` to complete on the header line instead of nothing. Therefore, for each use of `(f)`, we ensure that we have an extra new line to be sure we get an array. Credit to @povesteam for the original report and fix in #27373. Signed-off-by: Vincent Bernat <vincent@bernat.im> Upstream-commit: 44b83c56b6e52e08e5c1e580b042421069707286 Component: engine
Languages
Go
92.3%
Shell
5.4%
Dockerfile
1.1%
Go-Checksums
0.7%
Makefile
0.3%
Other
0.2%