Skip to content

Commit c21a3a9

Browse files
authored
Fix HelpText for -debug-inverse-requirements and -warn-long-expression-type-checking
Co-authored-by: Ryan Mansfield <[email protected]>
1 parent a22dd98 commit c21a3a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/swift/Option/FrontendOptions.td

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -467,7 +467,7 @@ def debug_generic_signatures : Flag<["-"], "debug-generic-signatures">,
467467
HelpText<"Debug generic signatures">;
468468

469469
def debug_inverse_requirements : Flag<["-"], "debug-inverse-requirements">,
470-
HelpText<"Print real requirements in -debug_generic_signatures output">;
470+
HelpText<"Print real requirements in -debug-generic-signatures output">;
471471

472472
def debug_forbid_typecheck_prefix : Separate<["-"], "debug-forbid-typecheck-prefix">,
473473
HelpText<"Triggers llvm fatal_error if typechecker tries to typecheck a decl "
@@ -799,7 +799,7 @@ def warn_long_function_bodies_EQ : Joined<["-"], "warn-long-function-bodies=">,
799799

800800
def warn_long_expression_type_checking : Separate<["-"], "warn-long-expression-type-checking">,
801801
MetaVarName<"<n>">,
802-
HelpText<"Warns when type-checking a function takes longer than <n> ms">;
802+
HelpText<"Warns when type-checking an expression takes longer than <n> ms">;
803803
def warn_long_expression_type_checking_EQ : Joined<["-"], "warn-long-expression-type-checking=">,
804804
Alias<warn_long_expression_type_checking>;
805805

0 commit comments

Comments
 (0)