[#1592] neofs-lens: Add --version
flag
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
5569ff82ef
commit
f7d5045876
1 changed files with 1 additions and 0 deletions
|
@ -30,6 +30,7 @@ func entryPoint(cmd *cobra.Command, _ []string) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func init() {
|
func init() {
|
||||||
|
command.Flags().Bool("version", false, "application version")
|
||||||
command.AddCommand(
|
command.AddCommand(
|
||||||
cmdlist.Command,
|
cmdlist.Command,
|
||||||
inspect.Command,
|
inspect.Command,
|
||||||
|
|
Loading…
Reference in a new issue