Skip to content

Commit fdaf6a3

Browse files
committed
Set the usageSyntax automatically for all options
1 parent cc6333d commit fdaf6a3

File tree

4 files changed

+193
-32
lines changed

4 files changed

+193
-32
lines changed

src/main/java/org/truffleruby/options/Options.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
import org.truffleruby.shared.options.OptionsCatalog;
1818
import org.truffleruby.shared.options.Verbosity;
1919
import org.truffleruby.shared.options.Profile;
20+
import org.truffleruby.shared.options.OutputFormat;
2021

2122
import com.oracle.truffle.api.TruffleLanguage.Env;
2223

@@ -195,8 +196,8 @@ public class Options {
195196
public final boolean REGEXP_INSTRUMENT_MATCH;
196197
/** --regexp-instrument-match-detailed=false */
197198
public final boolean REGEXP_INSTRUMENT_MATCH_DETAILED;
198-
/** --regexp-instrumentation-output-format="text" */
199-
public final String REGEXP_INSTRUMENT_OUTPUT_FORMAT;
199+
/** --regexp-instrumentation-output-format=OutputFormat.TEXT */
200+
public final OutputFormat REGEXP_INSTRUMENT_OUTPUT_FORMAT;
200201
/** --metrics-time-parsing-file=false */
201202
public final boolean METRICS_TIME_PARSING_FILE;
202203
/** --metrics-time-require=false */

0 commit comments

Comments
 (0)