Skip to content

Commit

Permalink
Print "This is free software [etc]" for both licenses
Browse files Browse the repository at this point in the history
  • Loading branch information
jmarshall committed Oct 15, 2014
1 parent da73ecc commit 16e332a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion main.c
Original file line number Diff line number Diff line change
Expand Up @@ -221,10 +221,11 @@ int main(int argc, char *argv[])
if (strcmp(argv[1], "version") == 0 || strcmp(argv[1], "--version") == 0 || strcmp(argv[1], "-v") == 0) {
printf("bcftools %s\nUsing htslib %s\nCopyright (C) 2014 Genome Research Ltd.\n", bcftools_version(), hts_version());
#if USE_GPL
printf("License GPLv3+: GNU GPL version 3 or later\n");
printf("License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>\n");
#else
printf("License Expat: The MIT/Expat license\n");
#endif
printf("This is free software: you are free to change and redistribute it.\nThere is NO WARRANTY, to the extent permitted by law.\n");
return 0;
}
else if (strcmp(argv[1], "--version-only") == 0) {
Expand Down

0 comments on commit 16e332a

Please sign in to comment.