diff options
Diffstat (limited to 'src/err.c')
-rw-r--r-- | src/err.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -60,3 +60,12 @@ packerror(const char *fmt, ...) | |||
60 | va_end(ap); | 60 | va_end(ap); |
61 | } | 61 | } |
62 | 62 | ||
63 | void | ||
64 | version(void) | ||
65 | { | ||
66 | printf("%s (%s) %s\n", progname, PACKAGE_TARNAME, PACKAGE_VERSION); | ||
67 | printf("Copyright (C) 2013 Sergey Poznyakoff\n"); | ||
68 | printf("License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"); | ||
69 | printf("This is free software: you are free to change and redistribute it.\n"); | ||
70 | printf("There is NO WARRANTY, to the extent permitted by law.\n"); | ||
71 | } | ||