From: Eric S. Raymond Date: Tue, 16 Sep 2003 01:29:45 +0000 (+0000) Subject: Display the version in the help message. X-Git-Tag: 2.0~59 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=95e8f997cf457e5609ce48e588de4799be7bb87d;p=comparator.git Display the version in the help message. --- diff --git a/main.c b/main.c index 8c27b51..3a4d2e2 100644 --- a/main.c +++ b/main.c @@ -382,6 +382,7 @@ static void usage(void) fprintf(stderr," -v = enable progress messages on stderr.\n"); fprintf(stderr," -w = remove whitespace.\n"); fprintf(stderr," -x = debug, display chunks in output.\n"); + fprintf(stderr,"This is comparator version " VERSION ".\n"); exit(0); }