cmd: Add --force flag to reload command (close #4005)

Can be useful if user wants to reload manual certificates, for example.
This commit is contained in:
Matthew Holt
2021-02-01 18:14:03 -07:00
parent c986110678
commit 2772ede43c
2 changed files with 14 additions and 3 deletions

View File

@ -178,6 +178,7 @@ config file; otherwise the default is assumed.`,
fs.String("config", "", "Configuration file (required)")
fs.String("adapter", "", "Name of config adapter to apply")
fs.String("address", "", "Address of the administration listener, if different from config")
fs.Bool("force", false, "Force config reload, even if it is the same")
return fs
}(),
})