summaryrefslogtreecommitdiff
path: root/cmd/main.go
diff options
context:
space:
mode:
authorMatthew Holt <mholt@users.noreply.github.com>2019-07-05 09:59:13 -0600
committerMatthew Holt <mholt@users.noreply.github.com>2019-07-05 09:59:13 -0600
commit9429c843c854c0a8d9f9e5710dd6903afabeefb3 (patch)
treead7c168144a268892d1819de03ccf983537371c3 /cmd/main.go
parent6bcba91fbe1d11fa98dbaa75eeafcdce3921daf8 (diff)
cmd: New reload command
Diffstat (limited to 'cmd/main.go')
-rw-r--r--cmd/main.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd/main.go b/cmd/main.go
index 217bd74..4691b37 100644
--- a/cmd/main.go
+++ b/cmd/main.go
@@ -51,8 +51,9 @@ type commandFunc func() (int, error)
var commands = map[string]commandFunc{
"start": cmdStart,
- "stop": cmdStop,
"run": cmdRun,
+ "stop": cmdStop,
+ "reload": cmdReload,
"version": cmdVersion,
"list-modules": cmdListModules,
"environ": cmdEnviron,