X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ian/git?p=innduct.git;a=blobdiff_plain;f=duct.c;h=489fb92ee203c4c2fc740d83d7b52a1da50d4874;hp=f6f894353f1e383ecdf445ea2a2a7c94aaed9997;hb=bd52671fe8ab7e1fcef0e82a91d6bf4d5d6130eb;hpb=51662674b026be5936727b0e236a6f69e149c085 diff --git a/duct.c b/duct.c index f6f8943..489fb92 100644 --- a/duct.c +++ b/duct.c @@ -393,6 +393,14 @@ static void printusage(FILE *f) { print_options(innduct_options, f); } +static void printcopyright(FILE *f) { + fputs( + "innduct is Copyright (C)2010 Ian Jackson.\n" + "It is free software, licenced under GPL version 3 or later.\n" + "It is provided WITHOUT ANY WARRANTY. See the file GPL-3 for details\n", + stderr); +} + static void help(const Option *o, const char *val) { printusage(stdout); if (ferror(stdout) || fflush(stdout)) { @@ -426,6 +434,7 @@ int main(int argc, char **argv) { if (!argv[1]) { printusage(stderr); + printcopyright(stderr); exit(8); }