[#1592] neofs-lens: Add --version flag

Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
Evgenii Stratonikov 2022-07-13 10:22:17 +03:00 committed by fyrchik
parent 5569ff82ef
commit f7d5045876

View file

@ -30,6 +30,7 @@ func entryPoint(cmd *cobra.Command, _ []string) error {
}
func init() {
command.Flags().Bool("version", false, "application version")
command.AddCommand(
cmdlist.Command,
inspect.Command,