Move the version numbers from the interface of the version module into a new
implementation. Allow for release candidates to be specified and disinguished. git-svn-id: svn://svn.cc65.org/cc65/trunk@4260 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -132,7 +132,7 @@ static void SetOptions (void)
|
||||
StrBuf Buf = STATIC_STRBUF_INITIALIZER;
|
||||
|
||||
/* Set the translator */
|
||||
SB_Printf (&Buf, "ca65 V%u.%u.%u", VER_MAJOR, VER_MINOR, VER_PATCH);
|
||||
SB_Printf (&Buf, "ca65 V%s", GetVersionAsString ());
|
||||
OptTranslator (&Buf);
|
||||
|
||||
/* Set date and time */
|
||||
@@ -521,9 +521,7 @@ static void OptVersion (const char* Opt attribute ((unused)),
|
||||
const char* Arg attribute ((unused)))
|
||||
/* Print the assembler version */
|
||||
{
|
||||
fprintf (stderr,
|
||||
"ca65 V%u.%u.%u - %s\n",
|
||||
VER_MAJOR, VER_MINOR, VER_PATCH, Copyright);
|
||||
fprintf (stderr, "ca65 V%s - %s\n", GetVersionAsString (), Copyright);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user