From: Serge Rehbinder Date: Tue, 27 Sep 2016 08:32:47 +0000 (+0200) Subject: More clear warning if sat clean do not suppress anything X-Git-Tag: 5.0.0a1~95 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=3a8b5f825c5066b1a0ae4d66898773e9b37e80aa;p=tools%2Fsat.git More clear warning if sat clean do not suppress anything --- 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