src/cline.c

changeset 36
a7ff583e153f
parent 35
35120de6ee53
child 44
9574a181ec26
equal deleted inserted replaced
35:35120de6ee53 36:a7ff583e153f
1 /* 1 /*
2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER. 2 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
3 * Copyright 2011 Mike Becker. All rights reserved. 3 * Copyright 2013 Mike Becker. All rights reserved.
4 * 4 *
5 * Redistribution and use in source and binary forms, with or without 5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are met: 6 * modification, are permitted provided that the following conditions are met:
7 * 7 *
8 * 1. Redistributions of source code must retain the above copyright 8 * 1. Redistributions of source code must retain the above copyright
72 "\nnot counted unless a line matches the <end> pattern. A line is still " 72 "\nnot counted unless a line matches the <end> pattern. A line is still "
73 "\ncounted when it does not start or end with the respective patterns." 73 "\ncounted when it does not start or end with the respective patterns."
74 "\nPlease note, that cline does not remove whitespace characters as this" 74 "\nPlease note, that cline does not remove whitespace characters as this"
75 "\nmight not be reasonable in some cases." 75 "\nmight not be reasonable in some cases."
76 "\n\nExample (C without comments):" 76 "\n\nExample (C without comments):"
77 "\n cline -s .c,.h --exclude-cstyle-comments"); 77 "\n cline -s .c,.h --exclude-cstyle-comments"
78 "\n");
78 } 79 }
79 80
80 int exit_with_version(settings_t* settings) { 81 int exit_with_version(settings_t* settings) {
81 printf("cline - Version: %s\n", VERSION); 82 printf("cline - Version: %s\n", VERSION);
82 destroy_settings_t(settings); 83 destroy_settings_t(settings);

mercurial