X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=src%2Far65%2Fmain.c;h=5877520de4be5d0d1db9402d8f8b48971acb3a37;hb=bee54df02967b774c485b0a7fa703b5a76345d4e;hp=f098c8cb3a12dc8dfa2d0f0a2cfd90a2b2e5e140;hpb=1eff067ff90379c14c6a9770a76d6a3e9f99cd82;p=cc65 diff --git a/src/ar65/main.c b/src/ar65/main.c index f098c8cb3..5877520de 100644 --- a/src/ar65/main.c +++ b/src/ar65/main.c @@ -6,10 +6,10 @@ /* */ /* */ /* */ -/* (C) 1998-2001 Ullrich von Bassewitz */ -/* Wacholderweg 14 */ -/* D-70597 Stuttgart */ -/* EMail: uz@musoftware.de */ +/* (C) 1998-2009, Ullrich von Bassewitz */ +/* Roemerstrasse 52 */ +/* D-70794 Filderstadt */ +/* EMail: uz@cc65.org */ /* */ /* */ /* This software is provided 'as-is', without any expressed or implied */ @@ -60,15 +60,14 @@ static void Usage (void) /* Print usage information and exit */ { - fprintf (stderr, - "Usage: %s lib file|module ...\n" - "Operation is one of:\n" - "\ta\tAdd modules\n" - "\td\tDelete modules\n" - "\tl\tList library contents\n" - "\tx\tExtract modules\n" - "\tV\tPrint the archiver version\n", - ProgName); + printf ("Usage: %s lib file|module ...\n" + "Operation is one of:\n" + "\ta\tAdd modules\n" + "\td\tDelete modules\n" + "\tl\tList library contents\n" + "\tx\tExtract modules\n" + "\tV\tPrint the archiver version\n", + ProgName); exit (EXIT_FAILURE); } @@ -77,7 +76,7 @@ static void Usage (void) int main (int argc, char* argv []) /* Assembler main program */ { - int I; + unsigned I; /* Initialize the cmdline module */ InitCmdLine (&argc, &argv, "ar65"); @@ -122,8 +121,8 @@ int main (int argc, char* argv []) case 'V': fprintf (stderr, - "ar65 V%u.%u.%u - (C) Copyright 1998-1999 Ullrich von Bassewitz\n", - VER_MAJOR, VER_MINOR, VER_PATCH); + "ar65 V%s - (C) Copyright 1998-2009 Ullrich von Bassewitz\n", + GetVersionAsString ()); break; default: