From 3a8b5f825c5066b1a0ae4d66898773e9b37e80aa Mon Sep 17 00:00:00 2001 From: Serge Rehbinder Date: Tue, 27 Sep 2016 10:32:47 +0200 Subject: [PATCH] More clear warning if sat clean do not suppress anything --- commands/clean.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/commands/clean.py b/commands/clean.py index 9d7b05b..29934b6 100644 --- a/commands/clean.py +++ b/commands/clean.py @@ -166,6 +166,12 @@ def run(args, runner, logger): if len(l_dir_to_suppress) == 0: logger.write(src.printcolors.printcWarning(_("Nothing to suppress\n"))) + logger.write(src.printcolors.printcWarning("\n")) + sat_command = (runner.cfg.VARS.salometoolsway + + runner.cfg.VARS.sep + + "sat -h clean") + logger.write(_("Please specify what you want to suppress: " + "tap \"%s\"\n" % sat_command)) return # Check with the user if he really wants to suppress the directories -- 2.39.2