From 97d229232d1ca902c4bab55973999607e628f6ec Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Fri, 24 Apr 2015 15:51:08 +0100 Subject: [PATCH] Correct warning about obsoleted commands --- platformio/__main__.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platformio/__main__.py b/platformio/__main__.py index 892b36c0..d0e910c8 100644 --- a/platformio/__main__.py +++ b/platformio/__main__.py @@ -40,8 +40,9 @@ class PlatformioCLI(click.MultiCommand): # pylint: disable=R0904 def _handle_obsolate_command(self, name): if name in ("install", "list", "search", "show", "uninstall"): click.secho( - "Warning! `platformio %s` command is obsoleted! Please use " - "`platformio platforms %s`" % (name, name), + "Warning! `platformio %s` command is obsoleted and will be " + "removed in the next release! Please use " + "`platformio platforms %s` instead." % (name, name), fg="red" ) from platformio.commands import platforms