summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CHANGELOG.md4
-rw-r--r--cmd/rr/cmd/root.go1
2 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index db8ad552..030b8c06 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,6 +1,10 @@
CHANGELOG
=========
+UNRELEASED
+----------
+- Add `rr --version` flag support
+
v1.9.0 (02.12.2020)
-------------------
- Update PHP minimal supported version to 7.3
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,