/* */
/* */
/* */
-/* (C) 2002-2003 Ullrich von Bassewitz */
-/* Römerstrasse 52 */
-/* D-70794 Filderstadt */
-/* EMail: uz@cc65.org */
+/* (C) 2002-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)
{
- fprintf (stderr,
- "Usage: %s [options] file\n"
- "Short options:\n"
- " -C name\t\tUse simulator config file\n"
- " -L dir\t\tSet a chip directory search path\n"
- " -V\t\t\tPrint the simulator version number\n"
- " -d\t\t\tDebug mode\n"
- " -h\t\t\tHelp (this text)\n"
- " -v\t\t\tIncrease verbosity\n"
- "\n"
- "Long options:\n"
- " --chipdir dir\t\tSet a chip directory search path\n"
- " --config name\t\tUse simulator config file\n"
- " --cpu type\t\tSet cpu type\n"
- " --debug\t\tDebug mode\n"
- " --help\t\tHelp (this text)\n"
- " --verbose\t\tIncrease verbosity\n"
- " --version\t\tPrint the simulator version number\n",
- ProgName);
+ printf ("Usage: %s [options] file\n"
+ "Short options:\n"
+ " -C name\t\tUse simulator config file\n"
+ " -L dir\t\tSet a chip directory search path\n"
+ " -V\t\t\tPrint the simulator version number\n"
+ " -d\t\t\tDebug mode\n"
+ " -h\t\t\tHelp (this text)\n"
+ " -v\t\t\tIncrease verbosity\n"
+ "\n"
+ "Long options:\n"
+ " --chipdir dir\t\tSet a chip directory search path\n"
+ " --config name\t\tUse simulator config file\n"
+ " --cpu type\t\tSet cpu type\n"
+ " --debug\t\tDebug mode\n"
+ " --help\t\tHelp (this text)\n"
+ " --verbose\t\tIncrease verbosity\n"
+ " --version\t\tPrint the simulator version number\n",
+ ProgName);
}
const char* Arg attribute ((unused)))
/* Print the assembler version */
{
- fprintf (stderr,
- "sim65 V%u.%u.%u\n",
- VER_MAJOR, VER_MINOR, VER_PATCH);
+ fprintf (stderr, "sim65 V%s\n", GetVersionAsString ());
}