Mimic Javac invalid flag handling

Issue #41 resolved
Jesper Öqvist created an issue

Print an invalid flag error message when a non-flag, non-filename is encountered on the command-line. This should mimic the Javac behavior.

Currently JastAddJ assumes the unrecognized flag is a filename and prints a warning that the file does not exist, then JastAddJ crashes because it tried to open the file and failed.

Comments (1)

  1. Log in to comment