use --gjq for GJson Query to filter json response data, remove --jq option

This commit is contained in:
Cory Bennett
2017-09-10 22:48:40 -07:00
parent 2c552ac530
commit 608e586d1c
62 changed files with 4871 additions and 2523 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ func CmdListRegistry() *jiracli.CommandRegistryEntry {
func CmdListUsage(cmd *kingpin.CmdClause, opts *ListOptions) error {
jiracli.TemplateUsage(cmd, &opts.CommonOptions)
jiracli.JsonQueryUsage(cmd, &opts.CommonOptions)
jiracli.GJsonQueryUsage(cmd, &opts.CommonOptions)
cmd.Flag("assignee", "User assigned the issue").Short('a').StringVar(&opts.Assignee)
cmd.Flag("component", "Component to search for").Short('c').StringVar(&opts.Component)
cmd.Flag("issuetype", "Issue type to search for").Short('i').StringVar(&opts.IssueType)