From d5fcb555cbf17e5e1c9b87ab9545e9543706f910 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 --- 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) }