summaryrefslogtreecommitdiff
path: root/cmd/commandfuncs.go
diff options
context:
space:
mode:
authorpeymaneh <80954461+pymnh@users.noreply.github.com>2021-09-02 02:08:02 +0200
committerGitHub <noreply@github.com>2021-09-01 18:08:02 -0600
commit9f6393c64cd8dc969358d47fb96410d8ee5c063d (patch)
treea00f8c3bc756cf82d26ca129cf0b76d78fabfac8 /cmd/commandfuncs.go
parent105dac8c2a3e48ed3957a606322015138752efd2 (diff)
cmd: export CaddyVersion(), Commands() (#4316)
* cmd: Export CaddyVersion() * cmd: Add getter Commands()
Diffstat (limited to 'cmd/commandfuncs.go')
-rw-r--r--cmd/commandfuncs.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/commandfuncs.go b/cmd/commandfuncs.go
index c456a81..8f1c68c 100644
--- a/cmd/commandfuncs.go
+++ b/cmd/commandfuncs.go
@@ -331,7 +331,7 @@ func cmdReload(fl Flags) (int, error) {
}
func cmdVersion(_ Flags) (int, error) {
- fmt.Println(caddyVersion())
+ fmt.Println(CaddyVersion())
return caddy.ExitCodeSuccess, nil
}