doczkal / rpms / abrt

Forked from rpms/abrt 4 years ago
Clone

Blame SOURCES/0170-abrt-auto-reporting-add-example-into-the-help.patch

baab13
From bb20db4b9a9e4fd49b3b50de8bd50d2973babf38 Mon Sep 17 00:00:00 2001
baab13
From: Matej Habrnal <mhabrnal@redhat.com>
baab13
Date: Fri, 4 Sep 2015 09:56:26 +0200
baab13
Subject: [PATCH] abrt-auto-reporting: add example into the help
baab13
baab13
Add example how to turn on the authentication using rhsm consumer certificate.
baab13
baab13
Related to rhbz#1223805
baab13
baab13
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
baab13
---
baab13
 src/daemon/abrt-auto-reporting.c | 5 +++++
baab13
 1 file changed, 5 insertions(+)
baab13
baab13
diff --git a/src/daemon/abrt-auto-reporting.c b/src/daemon/abrt-auto-reporting.c
baab13
index 46f8923..c82b504 100644
baab13
--- a/src/daemon/abrt-auto-reporting.c
baab13
+++ b/src/daemon/abrt-auto-reporting.c
baab13
@@ -200,6 +200,11 @@ int main(int argc, char *argv[])
baab13
             "& [ "STATE_MANUAL" | "STATE_AUTO" | yes | no | 1 | 0 ] \\\n"
baab13
             "  [[--anonymous] | [--username USERNAME [--password PASSWORD]] | [--certificate SOURCE]]\n"
baab13
             PROGRAM_USAGE_MIDDLE_PART
baab13
+            "Example:\n"
baab13
+            "Turn on the authentication using rhsm consumer certificate.\n"
baab13
+            "\n"
baab13
+            "\t# abrt-auto-reporting "STATE_AUTO" --certificate rhsm\n"
baab13
+            "\n"
baab13
             "See abrt-auto-reporting(1), reporter-ureport(1) and reporter-rhtsupport(1)\n"
baab13
             "for more details.\n"
baab13
     );
baab13
-- 
baab13
2.4.3
baab13