Changes to gnats/doc/man/query-pr.man

Yngve Svendsen <[email protected]> Tue, 24 Sep 2002 18:05:43 -0400
Newsgroups gmane.comp.bug-tracking.gnats.patches
Message-ID <[email protected]>
Index: gnats/doc/man/query-pr.man
diff -c gnats/doc/man/query-pr.man:1.1 gnats/doc/man/query-pr.man:1.2
*** gnats/doc/man/query-pr.man:1.1	Thu Jun 21 17:18:15 2001
--- gnats/doc/man/query-pr.man	Tue Sep 24 18:05:42 2002
***************
*** 291,297 ****
  A single field name may appear here.  Only the contents of this field will
  be displayed.
  .TP
! "\fIprintf string\fR" \fIfieldname\fR \fIfieldname\fR . . .
  
  This provides a rather flexible mechanism for formatting \fIPR\fR
  output.  (The formatting is identical to that provided by the named
--- 291,297 ----
  A single field name may appear here.  Only the contents of this field will
  be displayed.
  .TP
! \'"\fIprintf string\fR" \fIfieldname\fR \fIfieldname\fR . . .\'
  
  This provides a rather flexible mechanism for formatting \fIPR\fR
  output.  (The formatting is identical to that provided by the named
***************
*** 319,324 ****
--- 319,329 ----
  \fB%D\fR: For date fields, the date is written in a standard GNATS format.
  .PP
  \fB%Q\fR: For date fields, the date is written in an arbitrary "SQL" format.
+ .PP
+ An example printf formatted query (note the quoting of the whole
+ format specification):
+ .PP
+ query-pr --format '"%s, %s" Synopsis State'
  .RE
  .SH QUERY EXPRESSIONS
  Query expressions are used to select specific \fIPR\fRs based on their field