Only print version on '--version'

This commit is contained in:
Martin Lund 2022-07-28 21:32:00 +02:00
parent a9b7284ba2
commit 15bef05179

View file

@ -422,11 +422,6 @@ void options_parse(int argc, char *argv[])
case 'v': case 'v':
printf("tio v%s\n", VERSION); printf("tio v%s\n", VERSION);
printf("Copyright (c) 2014-2022 Martin Lund\n");
printf("\n");
printf("License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.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");
exit(EXIT_SUCCESS); exit(EXIT_SUCCESS);
break; break;