bin/find-unneeded-includes |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 9b2136fb7124934a8869a4d72cf7bf86db503935
Author: Gabor Kelemen <kelem...@ubuntu.com>
Date:   Sat May 19 07:34:51 2018 +0200

    find-unneeded-includes: Make the output user friendlier
    
    This way it's easy to copy-paste the problematic command
    for further investigation of IWYUs proposals
    
    Change-Id: I9e7403f0f05e64e562441941f00127a62bf15265
    Reviewed-on: https://gerrit.libreoffice.org/54560
    Tested-by: Jenkins <c...@libreoffice.org>
    Reviewed-by: Miklos Vajna <vmik...@collabora.co.uk>

diff --git a/bin/find-unneeded-includes b/bin/find-unneeded-includes
index 7cc933ff6c9a..b4a2a89e0377 100755
--- a/bin/find-unneeded-includes
+++ b/bin/find-unneeded-includes
@@ -165,7 +165,7 @@ def run_tool(task_queue, failed_files):
             p = subprocess.Popen(invocation, shell=True, 
stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
             retcode = 
processIWYUOutput(p.communicate()[0].decode('utf-8').splitlines(), moduleRules)
             if retcode != 0:
-                print("ERROR: '" + invocation + "' found unused includes.")
+                print("ERROR: The following command found unused includes:\n" 
+ invocation)
                 failed_files.append(invocation)
         task_queue.task_done()
 
_______________________________________________
Libreoffice-commits mailing list
libreoffice-comm...@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/libreoffice-commits

Reply via email to