]> git.sur5r.net Git - cc65/blobdiff - src/sp65/main.c
All programs print version and exit successfully.
[cc65] / src / sp65 / main.c
index 32cc1b9360674e31d0d3661460b0d46bf2944d3f..828a48fc8f70e858cd29ec63aaaa9095362580c5 100644 (file)
@@ -286,6 +286,7 @@ static void OptVersion (const char* Opt attribute ((unused)),
 /* Print the assembler version */
 {
     fprintf (stderr, "%s V%s\n", ProgName, GetVersionAsString ());
+    exit(EXIT_SUCCESS);
 }