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

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