aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
authorJoursoir <chat@joursoir.net>2021-02-28 11:37:26 +0000
committerJoursoir <chat@joursoir.net>2021-02-28 11:37:26 +0000
commit791acae6546f6c366cb79a1beddf917a7a3d41c4 (patch)
tree5645ee072ac2a8a473219d28c6434709554e1428 /src/main.c
parent8a84ef9b18b98ee800fac45552ce693e25aba205 (diff)
downloadlock-password-791acae6546f6c366cb79a1beddf917a7a3d41c4.tar.gz
lock-password-791acae6546f6c366cb79a1beddf917a7a3d41c4.tar.bz2
lock-password-791acae6546f6c366cb79a1beddf917a7a3d41c4.zip
change license
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c29
1 files changed, 21 insertions, 8 deletions
diff --git a/src/main.c b/src/main.c
index 4e250b3..47438c9 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1,9 +1,20 @@
-/*
-** Code written by Joursoir
-**
-** This is free and unencumbered software released into the public domain.
-** (C) The Unlicense
-*/
+/***
+ This file is part of LockPassword
+ Copyright (C) 2020-2021 Aleksandr D. Goncharov (Joursoir) <chat@joursoir.net>
+
+ This program is free software: you can redistribute it and/or modify
+ it under the terms of the GNU General Public License as published by
+ the Free Software Foundation, either version 3 of the License, or
+ (at your option) any later version.
+
+ This program is distributed in the hope that it will be useful,
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ GNU General Public License for more details.
+
+ You should have received a copy of the GNU General Public License
+ along with this program. If not, see <https://www.gnu.org/licenses/>.
+***/
#include <stdio.h>
#include <stdlib.h>
@@ -385,8 +396,10 @@ int cmd_version(int argc, char *argv[])
{
printf("LockPassword v%s\n"
"Release date: %s\n\n"
- "Code was written by Joursoir\n"
- "This is free and unencumbered software released into the public domain.\n\n",
+ "Copyright (C) 2020-2021 Aleksandr D. Goncharov\n"
+ "License: GNU GPL version 3\n"
+ "This is free software: you are free to change and redistribute it.\n"
+ "This program comes with ABSOLUTELY NO WARRANTY.\n",
VERSION, DATE_RELEASE);
return 0;
}