/* */
/* */
/* */
-/* (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 */
static void Usage (void)
/* Print usage information and exit */
{
- fprintf (stderr,
- "Usage: %s <operation> 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 <operation> 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);
}
int main (int argc, char* argv [])
/* Assembler main program */
{
- int I;
+ unsigned I;
/* Initialize the cmdline module */
InitCmdLine (&argc, &argv, "ar65");
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: