mirror of
https://github.com/Threnklyn/jira.git
synced 2026-05-18 20:23:28 +02:00
add --quiet global option
This commit is contained in:
+3
-1
@@ -78,7 +78,9 @@ func CmdRequest(o *oreo.Client, globals *jiracli.GlobalOptions, opts *RequestOpt
|
||||
return err
|
||||
}
|
||||
if len(content) == 0 {
|
||||
fmt.Println("No Content")
|
||||
if !globals.Quiet.Value {
|
||||
fmt.Println("No content in response")
|
||||
}
|
||||
return nil
|
||||
}
|
||||
var data interface{}
|
||||
|
||||
Reference in New Issue
Block a user