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

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