From 4b5cfedb3d9711caf3e43d07bee41914b1d03133 Mon Sep 17 00:00:00 2001 From: Doug Davis Date: Mon, 8 Jun 2015 16:29:12 -0700 Subject: [PATCH] Fix COPY/ADD quoted/json form Minor tweak to the quoted/json form and made man page look like the Dockerfile docs. W/o the `,` people may think there should be a space delimited list. Signed-off-by: Doug Davis Upstream-commit: 0e820ef647f738e322a476a81b0aa47bd64d8986 Component: cli --- components/cli/docs/sources/reference/builder.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/cli/docs/sources/reference/builder.md b/components/cli/docs/sources/reference/builder.md index fb4d5ce1d7..e847446286 100644 --- a/components/cli/docs/sources/reference/builder.md +++ b/components/cli/docs/sources/reference/builder.md @@ -492,7 +492,7 @@ change them using `docker run --env =`. ADD has two forms: - `ADD ... ` -- `ADD [""... ""]` (this form is required for paths containing +- `ADD ["",... ""]` (this form is required for paths containing whitespace) The `ADD` instruction copies new files, directories or remote file URLs from `` @@ -596,7 +596,7 @@ The copy obeys the following rules: COPY has two forms: - `COPY ... ` -- `COPY [""... ""]` (this form is required for paths containing +- `COPY ["",... ""]` (this form is required for paths containing whitespace) The `COPY` instruction copies new files or directories from ``