فهرست منبع

Merge pull request #8111 from acroca/master

Grammar fix
Jessie Frazelle 10 سال پیش
والد
کامیت
031231b5ed
3فایلهای تغییر یافته به همراه3 افزوده شده و 3 حذف شده
  1. 1 1
      api/client/commands.go
  2. 1 1
      docs/man/docker-save.1.md
  3. 1 1
      docs/sources/reference/commandline/cli.md

+ 1 - 1
api/client/commands.go

@@ -2328,7 +2328,7 @@ func (cli *DockerCli) CmdCp(args ...string) error {
 
 
 func (cli *DockerCli) CmdSave(args ...string) error {
 func (cli *DockerCli) CmdSave(args ...string) error {
 	cmd := cli.Subcmd("save", "IMAGE [IMAGE...]", "Save an image(s) to a tar archive (streamed to STDOUT by default)")
 	cmd := cli.Subcmd("save", "IMAGE [IMAGE...]", "Save an image(s) to a tar archive (streamed to STDOUT by default)")
-	outfile := cmd.String([]string{"o", "-output"}, "", "Write to an file, instead of STDOUT")
+	outfile := cmd.String([]string{"o", "-output"}, "", "Write to a file, instead of STDOUT")
 
 
 	if err := cmd.Parse(args); err != nil {
 	if err := cmd.Parse(args); err != nil {
 		return err
 		return err

+ 1 - 1
docs/man/docker-save.1.md

@@ -17,7 +17,7 @@ Stream to a file instead of STDOUT by using **-o**.
 
 
 # OPTIONS
 # OPTIONS
 **-o**, **--output**=""
 **-o**, **--output**=""
-   Write to an file, instead of STDOUT
+   Write to a file, instead of STDOUT
 
 
 # EXAMPLES
 # EXAMPLES
 
 

+ 1 - 1
docs/sources/reference/commandline/cli.md

@@ -1333,7 +1333,7 @@ Providing a maximum restart limit is only valid for the ** on-failure ** policy.
 
 
     Save an image(s) to a tar archive (streamed to STDOUT by default)
     Save an image(s) to a tar archive (streamed to STDOUT by default)
 
 
-      -o, --output=""    Write to an file, instead of STDOUT
+      -o, --output=""    Write to a file, instead of STDOUT
 
 
 Produces a tarred repository to the standard output stream.
 Produces a tarred repository to the standard output stream.
 Contains all parent layers, and all tags + versions, or specified repo:tag, for
 Contains all parent layers, and all tags + versions, or specified repo:tag, for