diff options
author | Mattias Andrée <maandree@member.fsf.org> | 2015-12-07 21:48:38 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@member.fsf.org> | 2015-12-07 21:48:38 +0100 |
commit | 4a4273ad90ed8f7c3876141a776c50bc8c96afd8 (patch) | |
tree | ef00e75de64ffa9ea97d50804af5b13e62e4cec0 /src | |
parent | whitespace (diff) | |
download | scrotty-4a4273ad90ed8f7c3876141a776c50bc8c96afd8.tar.gz scrotty-4a4273ad90ed8f7c3876141a776c50bc8c96afd8.tar.bz2 scrotty-4a4273ad90ed8f7c3876141a776c50bc8c96afd8.tar.xz |
misc improvements
Signed-off-by: Mattias Andrée <maandree@member.fsf.org>
Diffstat (limited to 'src')
-rw-r--r-- | src/scrotty.c | 14 |
1 files changed, 11 insertions, 3 deletions
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 <http://gnu.org/licenses/gpl.html>.\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) |