| OLD | NEW |
| 1 /* | 1 /* |
| 2 ** This program checks for formatting problems in source code: | 2 ** This program checks for formatting problems in source code: |
| 3 ** | 3 ** |
| 4 ** * Any use of tab characters | 4 ** * Any use of tab characters |
| 5 ** * White space at the end of a line | 5 ** * White space at the end of a line |
| 6 ** * Blank lines at the end of a file | 6 ** * Blank lines at the end of a file |
| 7 ** | 7 ** |
| 8 ** Any violations are reported. | 8 ** Any violations are reported. |
| 9 */ | 9 */ |
| 10 #include <stdio.h> | 10 #include <stdio.h> |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 }else{ | 75 }else{ |
| 76 printf("unknown command-line option: [%s]\n", argv[i]); | 76 printf("unknown command-line option: [%s]\n", argv[i]); |
| 77 printf("use --help for additional information\n"); | 77 printf("use --help for additional information\n"); |
| 78 } | 78 } |
| 79 }else{ | 79 }else{ |
| 80 checkSpacing(argv[i], flags); | 80 checkSpacing(argv[i], flags); |
| 81 } | 81 } |
| 82 } | 82 } |
| 83 return 0; | 83 return 0; |
| 84 } | 84 } |
| OLD | NEW |