... | ... |
@@ -214,3 +214,3 @@ |
214 | 214 |
|
215 |
"$ACTION"_action "$TMP_FILE" "$1" 'spaces' |
|
215 |
"$ACTION"_action "$TMP_FILE" "$1" 'trailing spaces' |
|
216 | 216 |
} |
... | ... |
@@ -227,3 +227,3 @@ |
227 | 227 |
function process_file() { |
228 |
echo -n " $ACTION |
|
228 |
echo -n " $ACTION $1..." |
|
229 | 229 |
|
... | ... |
@@ -261,8 +261,8 @@ |
261 | 261 |
--interactive|-i |
262 |
If --dry-run is specified and files are warned then a message is |
|
262 |
If --dry-run is specified and files are warned, then a message is |
|
263 | 263 |
prompted whether the warnings should be turned to errors. |
264 | 264 |
--werror|-w |
265 |
If --dry-run is specified |
|
265 |
If --dry-run is specified, the warnings are turned to errors. |
|
266 | 266 |
--all|-a |
267 |
|
|
267 |
Check all source files in the repository. |
|
268 | 268 |
--modified|-m |
... | ... |
@@ -284,5 +284,5 @@ |
284 | 284 |
files |
285 |
The files to check/unify. If no file names are given, the |
|
286 |
modified source will be checked/unified |
|
287 |
|
|
285 |
The files to check/unify. If no file names are given, the modified |
|
286 |
source files will be checked/unified (just like using the |
|
287 |
--modified|-m option). |
|
288 | 288 |
" |
... | ... |
@@ -291,3 +291,3 @@ |
291 | 291 |
then |
292 |
[ -n "$ACTION" ] && echo " |
|
292 |
[ -n "$ACTION" ] && echo "Conflicting action options" >&2 && exit 1 |
|
293 | 293 |
ACTION=check |
... | ... |
@@ -295,3 +295,3 @@ |
295 | 295 |
then |
296 |
[ -n "$FILES" ] && echo " |
|
296 |
[ -n "$FILES" ] && echo "Conflicting target options" >&2 && exit 1 |
|
297 | 297 |
FILES=all_files |
... | ... |
@@ -299,3 +299,3 @@ |
299 | 299 |
then |
300 |
[ -n "$FILES" ] && echo " |
|
300 |
[ -n "$FILES" ] && echo "Conflicting target options" >&2 && exit 1 |
|
301 | 301 |
FILES=changed_files |
... | ... |
@@ -303,3 +303,3 @@ |
303 | 303 |
then |
304 |
[ -n "$FILES" ] && echo " |
|
304 |
[ -n "$FILES" ] && echo "Conflicting target options" >&2 && exit 1 |
|
305 | 305 |
FILES=modified_files |
... | ... |
@@ -307,3 +307,3 @@ |
307 | 307 |
then |
308 |
[ -n "$WARNING" ] && echo " |
|
308 |
[ -n "$WARNING" ] && echo "Conflicting warning options" >&2 && exit 1 |
|
309 | 309 |
WARNING='INTERACTIVE' |
... | ... |
@@ -311,5 +311,5 @@ |
311 | 311 |
then |
312 |
[ -n "$WARNING" ] && echo " |
|
312 |
[ -n "$WARNING" ] && echo "Conflicting warning options" >&2 && exit 1 |
|
313 | 313 |
WARNING='WERROR' |
314 |
elif [ $(echo $1 | cut -c |
|
314 |
elif [ $(echo x$1 | cut -c 2) == '-' ] |
|
315 | 315 |
then |
0 comments (0 inline)