Blame SOURCES/0142-cli-warn-users-about-Private-Reports.patch

06486d
From 287977c966225108008effbe7eeae1d454836386 Mon Sep 17 00:00:00 2001
06486d
From: Jakub Filak <jfilak@redhat.com>
06486d
Date: Thu, 2 Jul 2015 15:34:38 +0200
06486d
Subject: [PATCH] cli: warn users about Private Reports
06486d
06486d
We should not make '--authenticate' default but we must inform users
06486d
about it.
06486d
06486d
Related: #1224984
06486d
06486d
Signed-off-by: Jakub Filak <jfilak@redhat.com>
06486d
---
06486d
 src/cli/abrt-cli.c | 2 ++
06486d
 1 file changed, 2 insertions(+)
06486d
06486d
diff --git a/src/cli/abrt-cli.c b/src/cli/abrt-cli.c
06486d
index f45523e..2e9e155 100644
06486d
--- a/src/cli/abrt-cli.c
06486d
+++ b/src/cli/abrt-cli.c
06486d
@@ -149,6 +149,8 @@ int main(int argc, const char **argv)
06486d
     {
06486d
         if (g_cli_authenticate)
06486d
             initialize_polkit_agent();
06486d
+        else if (g_settings_privatereports)
06486d
+            log(_("Private Reports is enabled, use 'abrt-cli -a COMMAND' to get the detected problems."));
06486d
 
06486d
         handle_internal_command(argc, argv, commands);
06486d
 
06486d
-- 
06486d
2.4.3
06486d