summaryrefslogtreecommitdiffstats
path: root/src/plugins/abrt-action-bugzilla.c
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-05-19 13:37:09 +0200
committerDenys Vlasenko <dvlasenk@redhat.com>2011-05-19 13:37:09 +0200
commit643d9abf858e979a19fbd85ecc386d167fe384d3 (patch)
treede89cfc51f8d3758dff65e3d7b4c2c2955d4b5f5 /src/plugins/abrt-action-bugzilla.c
parent9db9c8de91981886a8ac9678b36390e6346bf335 (diff)
downloadabrt-643d9abf858e979a19fbd85ecc386d167fe384d3.tar.gz
abrt-643d9abf858e979a19fbd85ecc386d167fe384d3.tar.xz
abrt-643d9abf858e979a19fbd85ecc386d167fe384d3.zip
abrt-action-bugzilla: better help/manpage. Closes bz#557943
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/plugins/abrt-action-bugzilla.c')
-rw-r--r--src/plugins/abrt-action-bugzilla.c21
1 files changed, 20 insertions, 1 deletions
diff --git a/src/plugins/abrt-action-bugzilla.c b/src/plugins/abrt-action-bugzilla.c
index e56ce99b..53b48cf0 100644
--- a/src/plugins/abrt-action-bugzilla.c
+++ b/src/plugins/abrt-action-bugzilla.c
@@ -235,7 +235,26 @@ int main(int argc, char **argv)
const char *program_usage_string = _(
"\b [-v] -c CONFFILE -d DIR\n"
"\n"
- "Reports problem to Bugzilla"
+ "Reports problem to Bugzilla.\n"
+ "\n"
+ "The tool reads DIR. Then it logs in to Bugzilla and tries to find a bug\n"
+ "with the same abrt_hash:HEXSTRING in 'Whiteboard'.\n"
+ "\n"
+ "If such bug is not found, then a new bug is created. Elements of DIR\n"
+ "are stored in the bug as part of bug description or as attachments,\n"
+ "depending on their type and size.\n"
+ "\n"
+ "Otherwise, if such bug is found and it is marked as CLOSED DUPLICATE,\n"
+ "the tool follows the chain of duplicates until it finds a non-DUPLICATE bug.\n"
+ "The tool adds a new comment to found bug.\n"
+ "\n"
+ "The URL to new or modified bug is printed to stdout and recorded in\n"
+ "'reported_to' element.\n"
+ "\n"
+ "CONFFILE lines should have 'PARAM = VALUE' format.\n"
+ "Recognized string parameters: BugzillaURL, Login, Password.\n"
+ "Recognized boolean parameter (VALUE should be 1/0, yes/no): SSLVerify.\n"
+ "Parameters can be overridded via $Bugzilla_PARAM environment variables."
);
enum {
OPT_v = 1 << 0,