From a92d7aab8e59afcc4f478f14baf22634c9b42ca3 Mon Sep 17 00:00:00 2001 From: 1138-4EB <1138-4EB@users.noreply.github.com> Date: Wed, 22 Aug 2018 12:30:55 +0100 Subject: [PATCH] chore: add version to subcmds Former-commit-id: a08e327cccff4586578c71b6278b46c9d802f4dc [formerly 0b5e200ece501efd62b80c11f03518f5aac11c87] [formerly defeb96bda2355d30a5fd0d9e6a3b6c427b170b2 [formerly d5fcb555cbf17e5e1c9b87ab9545e9543706f910]] Former-commit-id: bf7ccdb941b150562153ba61609db38922191b97 [formerly d6250e9ca18bd318f0fdf742fc32e0404998e2f3] Former-commit-id: 867dec4689e6ed85b29c6501e37da85801783281 --- cli/cmd/version.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cli/cmd/version.go b/cli/cmd/version.go index 7687e77c..f5a1eafd 100644 --- a/cli/cmd/version.go +++ b/cli/cmd/version.go @@ -23,4 +23,6 @@ var versionCmd = &cobra.Command{ func init() { rootCmd.AddCommand(versionCmd) + serveCmd.AddCommand(versionCmd) + dbCmd.AddCommand(versionCmd) }