summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'cmd')
-rw-r--r--cmd/rr/cmd/root.go1
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,