Patchwork [U-Boot] boards.cfg: Fix the comment for invoking tools/reformat.py from vim

login
register
mail settings
Submitter Axel Lin
Date Sept. 13, 2013, 3:43 a.m.
Message ID <1379043817.20820.0.camel@phoenix>
Download mbox | patch
Permalink /patch/274643/
State Accepted
Delegated to: Tom Rini
Headers show

Comments

Axel Lin - Sept. 13, 2013, 3:43 a.m.
Add the missing bang (!) to execute external command, otherwise it does not
work.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
---
 boards.cfg | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Tom Rini - Sept. 21, 2013, 12:06 p.m.
On Fri, Sep 13, 2013 at 11:43:37AM +0800, Axel Lin wrote:

> Add the missing bang (!) to execute external command, otherwise it does not
> work.
> 
> Signed-off-by: Axel Lin <axel.lin@ingics.com>

Applied to u-boot/master, thanks!

Patch

diff --git a/boards.cfg b/boards.cfg
index dbd8479..9fc77fb 100644
--- a/boards.cfg
+++ b/boards.cfg
@@ -38,7 +38,7 @@ 
 # It can be used from a shell:
 #	tools/reformat.py -i -d '-' -s 8 <boards.cfg >boards0.cfg && mv boards0.cfg boards.cfg
 # It can directly be invoked from vim:
-#	:%tools/reformat.py -i -d '-' -s 8
+#	:%!tools/reformat.py -i -d '-' -s 8
 #
 # Status, Arch, CPU:SPLCPU, SoC, Vendor, Board name, Target, Options, Maintainers
 ###########################################################################################################