forked from TrueCloudLab/frostfs-node
[#598] cmd/neofs-ir: Print debug message in --version
Signed-off-by: Alex Vanin <alexey@nspcc.ru>
This commit is contained in:
parent
caafd973e4
commit
0368d5f2b2
1 changed files with 2 additions and 1 deletions
|
@ -40,7 +40,8 @@ func main() {
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
if *versionFlag {
|
if *versionFlag {
|
||||||
fmt.Println("version:", misc.Version)
|
fmt.Println("neofs-ir", misc.Version)
|
||||||
|
fmt.Println("debug:", misc.Debug)
|
||||||
os.Exit(SuccessReturnCode)
|
os.Exit(SuccessReturnCode)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue