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, ...) va_end(ap); } +void +version(void) +{ + printf("%s (%s) %s\n", progname, PACKAGE_TARNAME, PACKAGE_VERSION); + printf("Copyright (C) 2013 Sergey Poznyakoff\n"); + printf("License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n"); + printf("This is free software: you are free to change and redistribute it.\n"); + printf("There is NO WARRANTY, to the extent permitted by law.\n"); +} |