[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Changes to gnats/doc/p-usage.texi
From: |
Yngve Svendsen |
Subject: |
Changes to gnats/doc/p-usage.texi |
Date: |
Tue, 24 Sep 2002 18:05:43 -0400 |
Index: gnats/doc/p-usage.texi
diff -c gnats/doc/p-usage.texi:1.7 gnats/doc/p-usage.texi:1.8
*** gnats/doc/p-usage.texi:1.7 Mon May 20 08:24:02 2002
--- gnats/doc/p-usage.texi Tue Sep 24 18:05:42 2002
***************
*** 536,542 ****
A single field name may appear here. Only the contents of this field
will be displayed.
! @item "printf string" fieldname fieldname ...
This provides a very flexible mechanism for formatting PR output. (The
formatting is identical to that provided by the named formats described
by the database configuration, @xref{Named query definitions}. The
--- 536,542 ----
A single field name may appear here. Only the contents of this field
will be displayed.
! @item '"printf string" fieldname fieldname ...'
This provides a very flexible mechanism for formatting PR output. (The
formatting is identical to that provided by the named formats described
by the database configuration, @xref{Named query definitions}. The
***************
*** 566,571 ****
--- 566,578 ----
@code{%Q}: For date fields, the date is written in an arbitrary "SQL"
format.
@end table
+
+ An example formatted query looks as follows (note that the whole format
+ specification should be quoted):
+
+ @smallexample
+ query-pr --format '"%s, %s" Synopsis State'
+ @end smallexample
@node Query expressions
@subsection Query expressions
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Changes to gnats/doc/p-usage.texi,
Yngve Svendsen <=