diff options
author | Matthew Holt <[email protected]> | 2021-02-01 18:14:03 -0700 |
---|---|---|
committer | Matthew Holt <[email protected]> | 2021-02-01 18:14:03 -0700 |
commit | 2772ede43c852fa50f3527dbd94ae747b6f64365 (patch) | |
tree | 902680d2fb6f56fe71baa0d7e6155985381465aa /cmd/commands.go | |
parent | c986110678458f032018ff931273f8b6e1921e38 (diff) | |
download | caddy-2772ede43c852fa50f3527dbd94ae747b6f64365.tar.gz caddy-2772ede43c852fa50f3527dbd94ae747b6f64365.zip |
cmd: Add --force flag to reload command (close #4005)
Can be useful if user wants to reload manual certificates, for example.
Diffstat (limited to 'cmd/commands.go')
-rw-r--r-- | cmd/commands.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/commands.go b/cmd/commands.go index 176519400..a5198966a 100644 --- a/cmd/commands.go +++ b/cmd/commands.go @@ -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 }(), }) |