fix: use local flag

See #648
This commit is contained in:
2025-09-06 08:24:37 +02:00
parent 7f456a3f24
commit b4c9fbfe6d

View File

@ -217,12 +217,10 @@ Config:
i18n.G("help for abra"),
)
rootCmd.PersistentFlags().BoolVarP(
rootCmd.Flags().BoolVarP(
&internal.Version,
i18n.G("version"),
// FIXME: temporary workaround for #648
// i18n.G("v"),
"",
i18n.G("v"),
false,
i18n.G("version for abra"),
)