From bcf0cc26aa5ea94bb981f79a054d0454ad292db9 Mon Sep 17 00:00:00 2001 From: Ivan Kravets Date: Mon, 25 May 2015 21:45:50 +0300 Subject: [PATCH] Add --force for run command --- docs/ide/sublimetext.rst | 4 ++-- docs/ide/vim.rst | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/ide/sublimetext.rst b/docs/ide/sublimetext.rst index af39f328..df4a44a4 100644 --- a/docs/ide/sublimetext.rst +++ b/docs/ide/sublimetext.rst @@ -50,11 +50,11 @@ described below: [ { "name": "Clean", - "cmd": ["platformio", "run", "-t", "clean"] + "cmd": ["platformio", "--force", "run", "--target", "clean"] }, { "name": "Upload", - "cmd": ["platformio", "run", "-t", "upload"] + "cmd": ["platformio", "--force", "run", "--target", "upload"] } ] } diff --git a/docs/ide/vim.rst b/docs/ide/vim.rst index ae1116f6..a9ccc115 100644 --- a/docs/ide/vim.rst +++ b/docs/ide/vim.rst @@ -30,10 +30,10 @@ Put to the project directory ``Makefile`` wrapper with contents: #PATH := /usr/local/bin:$(PATH) all: - platformio run -t upload + platformio --force run --target upload clean: - platformio run -t clean + platformio --force run --target clean Now, in VIM ``cd /path/to/this/project`` and press ``Ctrl+B`` or ``Cmd+B``