|
@ -259,7 +259,7 @@ Loads and provisions the provided config, but does not start running it. |
|
|
This reveals any errors with the configuration through the loading and |
|
|
This reveals any errors with the configuration through the loading and |
|
|
provisioning stages.`, |
|
|
provisioning stages.`, |
|
|
Flags: func() *flag.FlagSet { |
|
|
Flags: func() *flag.FlagSet { |
|
|
fs := flag.NewFlagSet("load", flag.ExitOnError) |
|
|
fs := flag.NewFlagSet("validate", flag.ExitOnError) |
|
|
fs.String("config", "", "Input configuration file") |
|
|
fs.String("config", "", "Input configuration file") |
|
|
fs.String("adapter", "", "Name of config adapter") |
|
|
fs.String("adapter", "", "Name of config adapter") |
|
|
return fs |
|
|
return fs |
|
@ -282,7 +282,7 @@ If you wish you use stdin instead of a regular file, use - as the path. |
|
|
When reading from stdin, the --overwrite flag has no effect: the result |
|
|
When reading from stdin, the --overwrite flag has no effect: the result |
|
|
is always printed to stdout.`, |
|
|
is always printed to stdout.`, |
|
|
Flags: func() *flag.FlagSet { |
|
|
Flags: func() *flag.FlagSet { |
|
|
fs := flag.NewFlagSet("format", flag.ExitOnError) |
|
|
fs := flag.NewFlagSet("fmt", flag.ExitOnError) |
|
|
fs.Bool("overwrite", false, "Overwrite the input file with the results") |
|
|
fs.Bool("overwrite", false, "Overwrite the input file with the results") |
|
|
return fs |
|
|
return fs |
|
|
}(), |
|
|
}(), |
|
|