Sync docs and command usage
@@ -59,9 +59,11 @@ func adjustConfigWithImageLabels(cfg *api.Config, labels map[string]string) {
func NewCmdGenerate(cfg *api.Config) *cobra.Command {
generateCmd := &cobra.Command{
Use: "generate <image> <dockerfile>",
- Short: "Generate a Dockerfile based on the provided builder image",
+ Short: "Generate a Dockerfile using an existing S2I builder image " +
+ "that can be used to produce an image by any application " +
+ "supporting the format.",
Example: `
-# Generate a Dockerfile from a builder image:
+# Generate a Dockerfile for the centos/nodejs-10-centos7 builder image:
$ s2i generate docker://docker.io/centos/nodejs-10-centos7 Dockerfile.gen
`,
RunE: func(cmd *cobra.Command, _ []string) error {
