Fix up validation a bit (#6786)
- Missing newline - Include validate in the list of subcommands - fixes #6785
This commit is contained in:
parent
0d0116dd3f
commit
6d37299ec3
|
|
@ -82,7 +82,7 @@ func init() {
|
|||
// TODO(#6763): Move this inside of main().
|
||||
cmd.RegisterCommand("--list", func() {
|
||||
for _, c := range cmd.AvailableCommands() {
|
||||
if c != "boulder" && c != "--list" && c != "validate" {
|
||||
if c != "boulder" && c != "--list" {
|
||||
fmt.Println(c)
|
||||
}
|
||||
}
|
||||
|
|
@ -110,7 +110,7 @@ func init() {
|
|||
}
|
||||
err := readAndValidateConfigFile(*component, *configFile)
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, "Error validating configuration: %s", err)
|
||||
fmt.Fprintf(os.Stderr, "Error validating configuration: %s\n", err)
|
||||
os.Exit(1)
|
||||
}
|
||||
}, nil)
|
||||
|
|
|
|||
Loading…
Reference in New Issue