mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
Fix Lindent to not indent preprocessor comments so far
I recently ran Lindent over the AdvanSys driver and it moved the comments on #else and #endif lines way over to the right: #else /* ADVANSYS_DEBUG */ This doesn't match what I expect from kernel style, but it is documented. We just need another flag to indent to make this look like: #else /* ADVANSYS_DEBUG */ Signed-off-by: Matthew Wilcox <matthew@wil.cx> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
This commit is contained in:
parent
178554ae75
commit
e609ccc316
1 changed files with 1 additions and 1 deletions
|
@ -1,2 +1,2 @@
|
|||
#!/bin/sh
|
||||
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs "$@"
|
||||
indent -npro -kr -i8 -ts8 -sob -l80 -ss -ncs -cp1 "$@"
|
||||
|
|
Loading…
Reference in a new issue