From 9ec0d3bc8c2a6fed0359ce1cf5c28435c56060f5 Mon Sep 17 00:00:00 2001 From: WillemMali Date: Fri, 7 Aug 2015 13:14:14 +0200 Subject: [PATCH] improved error wording Fixed a grammatical mistake and made the meaning clearer by replacing "it" with "this" and by adding an example. It does increase the length of the output, but I think it's much easier to read and more informative. --- platformio/builder/tools/pioupload.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platformio/builder/tools/pioupload.py b/platformio/builder/tools/pioupload.py index 1cc75a53..ddd82e25 100644 --- a/platformio/builder/tools/pioupload.py +++ b/platformio/builder/tools/pioupload.py @@ -90,7 +90,8 @@ def AutodetectUploadPort(env): else: Exit("Error: Please specify `upload_port` for environment or use " "global `--upload-port` option.\n" - "For the some development platforms it can be USB flash drive\n") + "For some development platforms this can be a USB flash drive " + "(i.e. /media//)\n") def UploadToDisk(_, target, source, env): # pylint: disable=W0613,W0621