Skip to content

Commit 57776f2

Browse files
fix(compiler): Use option converter for --profile argument (#1432)
1 parent 553ef62 commit 57776f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/src/utils/config.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -391,7 +391,7 @@ let profile =
391391
opt(
392392
~doc="Set a compilation profile.",
393393
~names=["profile"],
394-
~conv=Cmdliner.Arg.enum([("release", Some(Release))]),
394+
~conv=option_conv(Cmdliner.Arg.enum([("release", Release)])),
395395
None,
396396
);
397397

0 commit comments

Comments
 (0)