Browse code

change tag -> repo name in build usage

Victor Vieux authored on 2013/07/11 07:44:31
Showing 5 changed files
... ...
@@ -156,7 +156,7 @@ func mkBuildContext(dockerfile string, files [][2]string) (Archive, error) {
156 156
 
157 157
 func (cli *DockerCli) CmdBuild(args ...string) error {
158 158
 	cmd := Subcmd("build", "[OPTIONS] PATH | URL | -", "Build a new container image from the source code at PATH")
159
-	tag := cmd.String("t", "", "Tag to be applied to the resulting image in case of success")
159
+	tag := cmd.String("t", "", "Repository name to be applied to the resulting image in case of success")
160 160
 	if err := cmd.Parse(args); err != nil {
161 161
 		return nil
162 162
 	}
... ...
@@ -827,7 +827,7 @@ Build an image from Dockerfile via stdin
827 827
 	   
828 828
 	   {{ STREAM }}
829 829
 
830
-	:query t: tag to be applied to the resulting image in case of success
830
+	:query t: repository name to be applied to the resulting image in case of success
831 831
 	:statuscode 200: no error
832 832
         :statuscode 500: server error
833 833
 
... ...
@@ -865,7 +865,7 @@ Build an image from Dockerfile via stdin
865 865
 	   
866 866
 	   {{ STREAM }}
867 867
 
868
-	:query t: tag to be applied to the resulting image in case of success
868
+	:query t: repository name to be applied to the resulting image in case of success
869 869
 	:query remote: resource to fetch, as URI
870 870
 	:statuscode 200: no error
871 871
         :statuscode 500: server error
... ...
@@ -880,7 +880,7 @@ Build an image from Dockerfile via stdin
880 880
 
881 881
         The Content-type header should be set to "application/tar".
882 882
 
883
-	:query t: tag to be applied to the resulting image in case of success
883
+	:query t: repository name to be applied to the resulting image in case of success
884 884
 	:statuscode 200: no error
885 885
         :statuscode 500: server error
886 886
 
... ...
@@ -10,7 +10,7 @@
10 10
 
11 11
     Usage: docker build [OPTIONS] PATH | URL | -
12 12
     Build a new container image from the source code at PATH
13
-      -t="": Tag to be applied to the resulting image in case of success.
13
+      -t="": Repository name to be applied to the resulting image in case of success.
14 14
     When a single Dockerfile is given as URL, then no context is set. When a git repository is set as URL, the repository is used as context
15 15
 
16 16