From 44d83e26e30a29f34549cbfb7364cfe054757f8c Mon Sep 17 00:00:00 2001 From: Daniel Carl Date: Wed, 24 Feb 2016 10:54:05 +0100 Subject: [PATCH] Add license info to --version output. --- src/main.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index 3b379fc..5317404 100644 --- a/src/main.c +++ b/src/main.c @@ -1830,7 +1830,11 @@ int main(int argc, char *argv[]) } if (ver) { - fprintf(stdout, "%s/%s\n", PROJECT, VERSION); + fprintf(stdout, "%s, version %s\n", PROJECT, VERSION); + fprintf(stdout, "Copyright © 2012 - 2016 Daniel Carl \n"); + fprintf(stdout, "License GPLv3+: GNU GPL version 3 or later \n"); + fprintf(stdout, "This is free software; you are free to change and redistribute it.\n"); + fprintf(stdout, "There is NO WARRANTY, to the extent permitted by law.\n"); return EXIT_SUCCESS; } -- 2.20.1