arrfab / rpms / abrt

Forked from rpms/abrt 5 years ago
Clone

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

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