summaryrefslogtreecommitdiff
path: root/cmd/cli/root.go
diff options
context:
space:
mode:
authorValery Piashchynski <[email protected]>2020-12-26 01:27:29 +0300
committerValery Piashchynski <[email protected]>2020-12-26 01:27:29 +0300
commitde4d0b6e66ceda08b0daec18a218c1baa71ebf04 (patch)
tree7bbef377bc97128fb356cad89bd2b40d43aa67f6 /cmd/cli/root.go
parent6fe39bc935ceb847b21c289adaf700035454de6b (diff)
Add --version flag
Diffstat (limited to 'cmd/cli/root.go')
-rw-r--r--cmd/cli/root.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/cli/root.go b/cmd/cli/root.go
index eb15f565..7b18a22f 100644
--- a/cmd/cli/root.go
+++ b/cmd/cli/root.go
@@ -25,6 +25,7 @@ var (
Use: "rr",
SilenceErrors: true,
SilenceUsage: true,
+ Version: Version,
}
)