From 4a4273ad90ed8f7c3876141a776c50bc8c96afd8 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 7 Dec 2015 21:48:38 +0100 Subject: misc improvements MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/scrotty.c | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/scrotty.c b/src/scrotty.c index c256aa6..1005cff 100644 --- a/src/scrotty.c +++ b/src/scrotty.c @@ -682,14 +682,22 @@ print_help(void) static int print_version (void) { - return printf ("%s %s\n", PROGRAM_NAME, PROGRAM_VERSION) < 0 ? -1 : 0; + return printf (_("%s\n" + "Copyright (C) %s.\n" + "License GPLv3+: GNU GPL version 3 or later .\n" + "This is free software: you are free to change and redistribute it.\n" + "There is NO WARRANTY, to the extent permitted by law.\n" + "\n" + "Written by Mattias Andrée.\n"), + PROGRAM_NAME " " PROGRAM_VERSION, + "2014, 2015 Mattias Andrée") < 0 ? -1 : 0; } /** - * Print copyright information + * Print copyright information. * - * @return Zero on success, -1 on error + * @return Zero on success, -1 on error. */ static int print_copyright (void) -- cgit v1.2.3-70-g09d2