diff options
author | Valery Piashchynski <[email protected]> | 2020-12-08 18:28:49 +0300 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-08 18:28:49 +0300 |
commit | 95bcb4c3f390bebb91041db710dbb4bde994d2fe (patch) | |
tree | 87f3360ed3ad13a508a16b6bbf58a68210a69f02 /cmd | |
parent | 2c9e686a1bcfb794bb268d861d27af70f07f232e (diff) | |
parent | d51b34a1bfb8c97c661d6a8755dd9b0d66ec0c54 (diff) |
Merge pull request #438 from tarampampam/patch-1
Add `rr --version` flag
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/rr/cmd/root.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/rr/cmd/root.go b/cmd/rr/cmd/root.go index 456cfc6a..e67a4e62 100644 --- a/cmd/rr/cmd/root.go +++ b/cmd/rr/cmd/root.go @@ -55,6 +55,7 @@ var ( Use: "rr", SilenceErrors: true, SilenceUsage: true, + Version: Version, // allows to use `--version` flag Short: util.Sprintf( "<green>RoadRunner</reset>, PHP Application Server\nVersion: <yellow+hb>%s</reset>, %s", Version, |