summaryrefslogtreecommitdiff
path: root/cmd/commands.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2021-02-01 18:14:03 -0700
committerMatthew Holt <mholt@users.noreply.github.com>2021-02-01 18:14:03 -0700
commit2772ede43c852fa50f3527dbd94ae747b6f64365 (patch)
tree902680d2fb6f56fe71baa0d7e6155985381465aa /cmd/commands.go
parentc986110678458f032018ff931273f8b6e1921e38 (diff)
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.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/commands.go b/cmd/commands.go
index 1765194..a519896 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
}(),
})