Browse code

Docs: correct the description of docker cp

Signed-off-by: Lei Jitang <leijitang@huawei.com>

Lei Jitang authored on 2015/09/20 19:02:28
Showing 3 changed files
... ...
@@ -109,7 +109,7 @@ complete -c docker -A -f -n '__fish_seen_subcommand_from commit' -s p -l pause -
109 109
 complete -c docker -A -f -n '__fish_seen_subcommand_from commit' -a '(__fish_print_docker_containers all)' -d "Container"
110 110
 
111 111
 # cp
112
-complete -c docker -f -n '__fish_docker_no_subcommand' -a cp -d "Copy files/folders from a container's filesystem to the host path"
112
+complete -c docker -f -n '__fish_docker_no_subcommand' -a cp -d "Copy files/folders between a container and the local filesystem"
113 113
 complete -c docker -A -f -n '__fish_seen_subcommand_from cp' -l help -d 'Print usage'
114 114
 
115 115
 # create
... ...
@@ -24,7 +24,7 @@ var dockerCommands = []command{
24 24
 	{"attach", "Attach to a running container"},
25 25
 	{"build", "Build an image from a Dockerfile"},
26 26
 	{"commit", "Create a new image from a container's changes"},
27
-	{"cp", "Copy files/folders from a container to a HOSTDIR or to STDOUT"},
27
+	{"cp", "Copy files/folders between a container and the local filesystem"},
28 28
 	{"create", "Create a new container"},
29 29
 	{"diff", "Inspect changes on a container's filesystem"},
30 30
 	{"events", "Get real time events from the server"},
... ...
@@ -184,7 +184,7 @@ unix://[/path/to/socket] to use.
184 184
   See **docker-commit(1)** for full documentation on the **commit** command.
185 185
 
186 186
 **cp**
187
-  Copy files/folders from a container's filesystem to the host
187
+  Copy files/folders between a container and the local filesystem
188 188
   See **docker-cp(1)** for full documentation on the **cp** command.
189 189
 
190 190
 **create**