public inbox for
help / color / mirror / Atom feed
From: Yngve Svendsen <>
Subject: Re: gnats/400: query-pr "printf string" format functionality does not behave as expected
Date: Tue, 24 Sep 2002 14:46:00 -0000	[thread overview]
Message-ID: <> (raw)

At Sun Jul 21 23:43:51 -0400 2002, Duncan Lindley wrote:
>Documentation is thin..
>this is a normal query
>bash-2.05a$ query-pr --format summary -d gnats-sandpit 
>--state="open|analyzed|feedback|suspended|moderate|test" --category=test-1
>2 gnats-ad test-1 open non-criti low computersh index broke
>5 Duncan_L test-1 open non-criti low computersh my adsl router arrived
>7 gnats-ad test-1 open critical high computersh Attaching a bmp
>This is how i read the docco.. mabye i am wrong
>bash-2.05a$ query-pr --format "%s %s %s" State Originator Responsible -d 
>gnats-sandpit --state="open|analyzed|feedback|suspended|moderate|test" 
>query-pr: Invalid field name or query format %s
>and this seems to work but doesnt return results
>bash-2.05a$ query-pr --format Responsible "%F" -d gnats-sandpit 
>--state="open|analyzed|feedback|suspended|moderate|test" --category=test-1
>query-pr: no PRs matched

Ouch. The docs are wrong. The whole format expression needs to be quoted, 
like this:

query-pr --format '"%s %s %s" State Originator Responsible'

Yngve Svendsen

Gnats-prs mailing list

             reply	other threads:[~2002-09-24 21:46 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-24 14:46 Yngve Svendsen [this message]
  -- strict thread matches above, loose matches on Subject: below --
2002-07-25 11:30 duncan.lindley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).