Rename some update command arguments and reformat output for JSON

This commit is contained in:
David J. Allen 2023-10-18 14:35:57 -06:00
parent 186825eb3e
commit c7061d4768
2 changed files with 6 additions and 6 deletions

View file

@ -163,7 +163,7 @@ func GetUpdateStatus(q *UpdateParams) error {
return fmt.Errorf("returned status code %d", res.StatusCode)
}
if len(body) > 0 {
fmt.Printf("%d: %v\n", res.StatusCode, string(body))
fmt.Printf("%v\n", string(body))
}
return nil
}