summaryrefslogtreecommitdiffabout
path: root/src/err.c
Side-by-side diff
Diffstat (limited to 'src/err.c') (more/less context) (ignore whitespace changes)
-rw-r--r--src/err.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/err.c b/src/err.c
index 73aaba7..5c4d8d8 100644
--- a/src/err.c
+++ b/src/err.c
@@ -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");
+}

Return to:

Send suggestions and report system problems to the System administrator.