Skip to content
This repository was archived by the owner on Oct 13, 2023. It is now read-only.

Commit a669026

Browse files
artheus-sbabthaJeztah
authored andcommitted
Fix substitution of comma to space character, suggested by @albers
Signed-off-by: Morten Hekkvang <morten.hekkvang@sbab.se> (cherry picked from commit b85e1e2efefcc06c8de426d003fa2936f2286bb4) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> Upstream-commit: c70ce79adc2e13e48d45c58301a371623d4aaf12 Component: cli
1 parent 83a3adf commit a669026

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • components/cli/contrib/completion/bash

components/cli/contrib/completion/bash/docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ __docker_complete_nodes() {
551551
# precedence over the environment setting.
552552
__docker_services() {
553553
local format='{{.Name}}' # default: service name only
554-
[ "${DOCKER_COMPLETION_SHOW_SERVICE_IDS}" = yes ] && format='{{.ID}},{{.Name}}' # ID & name
554+
[ "${DOCKER_COMPLETION_SHOW_SERVICE_IDS}" = yes ] && format='{{.ID}} {{.Name}}' # ID & name
555555

556556
if [ "$1" = "--id" ] ; then
557557
format='{{.ID}}' # IDs only

0 commit comments

Comments
 (0)