From c077b931db4d57ae0bc831b3f6de53e5bffea25d Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Tue, 21 Jan 2003 18:39:55 +0000 Subject: [PATCH] output copyright message and URL before usage message --- t2p.c | 6 +++++- tumble.c | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/t2p.c b/t2p.c index c8ff630..d1b2835 100644 --- a/t2p.c +++ b/t2p.c @@ -4,7 +4,7 @@ * will be compressed using ITU-T T.6 (G4) fax encoding. * * Main program - * $Id: t2p.c,v 1.20 2003/01/21 10:30:49 eric Exp $ + * $Id: t2p.c,v 1.21 2003/01/21 10:39:55 eric Exp $ * Copyright 2001, 2002, 2003 Eric Smith * * This program is free software; you can redistribute it and/or modify @@ -78,6 +78,10 @@ bool close_pdf_output_files (void); void usage (void) { + fprintf (stderr, "\n"); + fprintf (stderr, "t2p - Copyright 2001-2003 Eric Smith \n"); + fprintf (stderr, "http://www.brouhaha.com/~eric/software/t2p/\n"); + fprintf (stderr, "\n"); fprintf (stderr, "usage:\n"); fprintf (stderr, " %s [options] -s spec\n", progname); fprintf (stderr, " %s [options] ... -o \n", progname); diff --git a/tumble.c b/tumble.c index 51466e0..228f043 100644 --- a/tumble.c +++ b/tumble.c @@ -4,7 +4,7 @@ * will be compressed using ITU-T T.6 (G4) fax encoding. * * Main program - * $Id: tumble.c,v 1.20 2003/01/21 10:30:49 eric Exp $ + * $Id: tumble.c,v 1.21 2003/01/21 10:39:55 eric Exp $ * Copyright 2001, 2002, 2003 Eric Smith * * This program is free software; you can redistribute it and/or modify @@ -78,6 +78,10 @@ bool close_pdf_output_files (void); void usage (void) { + fprintf (stderr, "\n"); + fprintf (stderr, "t2p - Copyright 2001-2003 Eric Smith \n"); + fprintf (stderr, "http://www.brouhaha.com/~eric/software/t2p/\n"); + fprintf (stderr, "\n"); fprintf (stderr, "usage:\n"); fprintf (stderr, " %s [options] -s spec\n", progname); fprintf (stderr, " %s [options] ... -o \n", progname);