[#598] cmd/neofs-ir: Print debug message in `--version`

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
remotes/fyrchik/meta-pebble
Alex Vanin 2021-06-09 14:06:02 +03:00 committed by Alex Vanin
parent caafd973e4
commit 0368d5f2b2
1 changed files with 2 additions and 1 deletions

View File

@ -40,7 +40,8 @@ func main() {
flag.Parse()
if *versionFlag {
fmt.Println("version:", misc.Version)
fmt.Println("neofs-ir", misc.Version)
fmt.Println("debug:", misc.Debug)
os.Exit(SuccessReturnCode)
}