[PATCH] Documentation on new mbox feature

Rafael Cunha de Almeida rafael at kontesti.me
Wed Dec 15 03:09:30 UTC 2010


---
 conf/reportbug.conf  |    3 +++
 man/querybts.1       |    6 ++++++
 man/reportbug.1      |    6 ++++++
 man/reportbug.conf.5 |    9 +++++++++
 4 files changed, 24 insertions(+), 0 deletions(-)

diff --git a/conf/reportbug.conf b/conf/reportbug.conf
index 8ed5932..905b1a7 100644
--- a/conf/reportbug.conf
+++ b/conf/reportbug.conf
@@ -106,3 +106,6 @@ verify
 
 # Don't check whether user IDs are outside admin range - root is still checked
 # no-check-uid
+
+# Use a command to open the mbox file of the reports
+# mbox_reader_cmd "mutt -f %s"
diff --git a/man/querybts.1 b/man/querybts.1
index 4b78558..8a4f8cd 100644
--- a/man/querybts.1
+++ b/man/querybts.1
@@ -35,6 +35,12 @@ check \fB\-\-help\fP for an updated list.
 .B \-b, \-\-buglist
 Display a bugs list for the given package.
 .TP
+.B \-\-mbox\-reader\-cmd=MBOX_READER_CMD
+Specify a command to open the bug reports' mbox file. You can use
+\fB%s\fP to substitute the mbox file to be used, and \fB%%\fP to insert
+a literal percent sign. If no \fB%s\fP is specified, the mbox file name
+is supplied at the end of the argument list.
+.TP
 .B \-m, \-\-mbox
 Retrieve the given bug number(s) or package name(s) as a mailbox file,
 instead of viewing it. It will be dumped to standard output.
diff --git a/man/reportbug.1 b/man/reportbug.1
index 927f3bf..79469cb 100644
--- a/man/reportbug.1
+++ b/man/reportbug.1
@@ -131,6 +131,12 @@ name or comment part, like \fBfoo at example.com\fP).  This setting will
 override the \fBEMAIL\fP and \fBDEBEMAIL\fP environment variables, but
 not \fBREPORTBUGEMAIL\fP.
 .TP
+.B \-\-mbox\-reader\-cmd=MBOX_READER_CMD
+Specify a command to open the bug reports' mbox file. You can use
+\fB%s\fP to substitute the mbox file to be used, and \fB%%\fP to insert
+a literal percent sign. If no \fB%s\fP is specified, the mbox file name
+is supplied at the end of the argument list.
+.TP
 .B \-\-exit\-prompt
 Display a prompt before exiting; this is useful if \fBreportbug\fP is
 run in a transient terminal (i.e. from its Debian menu entry).
diff --git a/man/reportbug.conf.5 b/man/reportbug.conf.5
index 0217f65..03ebddc 100644
--- a/man/reportbug.conf.5
+++ b/man/reportbug.conf.5
@@ -93,6 +93,15 @@ variables, see \fBreportbug(1)\fP). Example:
 \fBemail\fP \fI"humberto at example.com"\fP
 
 .TP
+.B mbox_reader_cmd
+Specify a command to open the bug reports' mbox file. You can use
+\fB%s\fP to substitute the mbox file to be used, and \fB%%\fP to insert
+a literal percent sign. If no \fB%s\fP is specified, the mbox file name
+is supplied at the end of the argument list. Example:
+
+\fBmbox_reader_cmd\fP \fI"mutt -f %s"\fP
+
+.TP
 .B header
 Additional headers to add to the bug email.  Like:
 
-- 
1.5.6.5


--DocE+STaALJfprDB--





More information about the Reportbug-maint mailing list