summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCyrill Gorcunov <gorcunov@gmail.com>2018-10-28 14:04:23 +0300
committerCyrill Gorcunov <gorcunov@gmail.com>2018-10-28 23:51:25 +0300
commit7a6e2550fccd00a6ce8b4a0de1165a3505b7c1a3 (patch)
tree469c3c7bea5f6b8da01aaac0122d90652a958fba
parent29a829948701805e6c9a6d0fe174f20260284a64 (diff)
downloadnasm-7a6e2550fccd00a6ce8b4a0de1165a3505b7c1a3.tar.gz
misc: Nindent -- Drop expand tabs with space option
Currently out code is rather a mix of space/tabs with sometime different indent level. Mostly because some of developers are came from kernel space. Lets shift to kernel coding standart with small steps, file by file. It really helps when you're sitting in front of laptop more than 10 hours long. Signed-off-by: Cyrill Gorcunov <gorcunov@gmail.com>
-rwxr-xr-xmisc/Nindent2
1 files changed, 1 insertions, 1 deletions
diff --git a/misc/Nindent b/misc/Nindent
index 0d75ccca..a6c806ca 100755
--- a/misc/Nindent
+++ b/misc/Nindent
@@ -1,5 +1,5 @@
#!/bin/sh
-PARAM="-npro -kr -i4 -ts8 -nut -sob -l80 -ss -ncs -cp1"
+PARAM="-npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1"
RES=`indent --version`
V1=`echo $RES | cut -d' ' -f3 | cut -d'.' -f1`
V2=`echo $RES | cut -d' ' -f3 | cut -d'.' -f2`