Skip to content

Commit

Permalink
Also recognize --help as an option
Browse files Browse the repository at this point in the history
  • Loading branch information
titzer committed Sep 11, 2024
1 parent 33b5874 commit d4136b8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/wizeng.main.v3
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,7 @@ class ImportTracer(var filter: DeclFilter) {
component WizengOptions {
def group = OptionsRegistry.newGroup("WIZENG", null);
def HELP = group.newFlag("help", printHelp, "Print command-line help.");
def HELP2 = group.newFlag("-help", printHelp, "Print command-line help.");
def VERSION = group.newFlag("-version", printVersion, "Print build version.");
def PREGEN_FILE = group.newPathOption("pregen", null, "Pre-generate assembly interpreter and stubs into the given file.");
def EXPOSE = group.newStringOption("-expose", null, "Expose the given host module's functionality to programs.")
Expand Down

0 comments on commit d4136b8

Please sign in to comment.