diff options
author | Paramtamtam <[email protected]> | 2020-12-08 20:18:01 +0500 |
---|---|---|
committer | GitHub <[email protected]> | 2020-12-08 20:18:01 +0500 |
commit | ec698c99412d29639d1fbae3468236445cc4a872 (patch) | |
tree | 5606657a346f3dae96b18bf46fba8d17e957419d /cmd | |
parent | a60d0523c1afb6c1983b522d1477b8ef319d5b99 (diff) |
Add `rr --version` flag support
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, |