[#1332] cli: Print missing nodes message verbosely

Signed-off-by: Pavel Karpy <carpawell@nspcc.ru>
This commit is contained in:
Pavel Karpy 2022-10-13 19:57:17 +03:00 committed by Pavel Karpy
parent 6e4f7180fe
commit beb1998ed1
2 changed files with 2 additions and 2 deletions

View file

@ -83,7 +83,7 @@ func addByPath(cmd *cobra.Command, _ []string) {
nn := resp.GetBody().GetNodes()
if len(nn) == 0 {
cmd.Println("No new nodes were created")
common.PrintVerbose("No new nodes were created")
return
}

View file

@ -80,7 +80,7 @@ func getByPath(cmd *cobra.Command, _ []string) {
nn := resp.GetBody().GetNodes()
if len(nn) == 0 {
cmd.Println("The node is not found")
common.PrintVerbose("The node is not found")
return
}