From 1e317f073f98b2e1328bda2b9a9603e2d98e14fc Mon Sep 17 00:00:00 2001 From: Azneo Date: Tue, 2 Apr 2024 14:16:52 +0200 Subject: [PATCH] Fix missing `version` flag on `update do` subcommand. (#239) --- cmd/update.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/update.go b/cmd/update.go index 08332230..24963b2d 100644 --- a/cmd/update.go +++ b/cmd/update.go @@ -56,7 +56,7 @@ func newUpdateCmd(c *config) *cobra.Command { }, } - updateCmd.Flags().StringP("version", "v", "", `the version to update to, by default updates to the supported version, use "latest" to update to latest version`) + updateDoCmd.Flags().StringP("version", "v", "", `the version to update to, by default updates to the supported version, use "latest" to update to latest version`) updateCmd.AddCommand(updateCheckCmd) updateCmd.AddCommand(updateDoCmd)