| 28 | #define ECTOOL_VERSION "0.1" |
| 29 | |
| 30 | void print_version(void) |
| 31 | { |
| 32 | printf("ectool v%s -- ", ECTOOL_VERSION); |
| 33 | printf("Copyright (C) 2008-2009 coresystems GmbH\n\n"); |
| 34 | printf( |
| 35 | "This program is free software: you can redistribute it and/or modify\n" |
| 36 | "it under the terms of the GNU General Public License as published by\n" |
| 37 | "the Free Software Foundation, version 2 of the License.\n\n" |
| 38 | "This program is distributed in the hope that it will be useful,\n" |
| 39 | "but WITHOUT ANY WARRANTY; without even the implied warranty of\n" |
| 40 | "MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n" |
| 41 | "GNU General Public License for more details.\n\n"); |
| 42 | } |
| 43 | |
| 44 | void print_usage(const char *name) |
| 45 | { |