| 62 "\n -v, --version - Print out version information" |
62 "\n -v, --version - Print out version information" |
| 63 "\n -V - Turn verbose output off, print the result only" |
63 "\n -V - Turn verbose output off, print the result only" |
| 64 "\n\nShortcuts:" |
64 "\n\nShortcuts:" |
| 65 "\n --exclude-cstyle-comments : -E '\\s*//' -e '\\s*/\\*' '\\*/\\s*'" |
65 "\n --exclude-cstyle-comments : -E '\\s*//' -e '\\s*/\\*' '\\*/\\s*'" |
| 66 "\n --exclude-blank-lines : -E '^\\s*$'" |
66 "\n --exclude-blank-lines : -E '^\\s*$'" |
| 67 "\n\n" |
67 "\n" |
| 68 "The default call without any options is:" |
68 "\nMore infos are available in the man page" |
| 69 "\n cline ./\n\n" |
69 "\nor at https://uap-core.de/man/cline.html" |
| 70 "So each file in the working directory is counted. If you want to count C" |
|
| 71 "\nsource code in your working directory and its subdirectories, type:" |
|
| 72 "\n cline -rs .c\n" |
|
| 73 "\nIf you want to exclude comment lines, you may use the -e/-E option." |
|
| 74 "\nAfter a line matches the regex pattern <start>, this and any following" |
|
| 75 "\nline is not counted unless a line matches the <end> pattern. A line is" |
|
| 76 "\nstill counted when it does not start or end with the respective pattern." |
|
| 77 "\nPlease note, that cline does not trim the lines before matching against" |
|
| 78 "\nthe pattern." |
|
| 79 "\n\nExample (C without comments):" |
|
| 80 "\n cline -s .c,.h --exclude-cstyle-comments" |
|
| 81 "\n"); |
70 "\n"); |
| 82 } |
71 } |
| 83 |
72 |
| 84 static int exit_with_version(settings *settings) { |
73 static int exit_with_version(settings *settings) { |
| 85 printf("cline - Version: " VERSION "\n"); |
74 printf("cline - Version: " VERSION "\n"); |