[PECOFF] Fix /? option and add a test for the flag.
llvm-svn: 191320
This commit is contained in:
parent
01df817a33
commit
27c88dab08
|
@ -62,7 +62,7 @@ defm dynamicbase : B<"dynamicbase",
|
|||
"Disable address space layout randomization">;
|
||||
|
||||
def help : F<"help">;
|
||||
def help_q : F<"?">, Alias<help>;
|
||||
def help_q : Flag<["/?", "-?"], "">, Alias<help>;
|
||||
|
||||
def DASH_DASH : Option<["--"], "", KIND_REMAINING_ARGS>;
|
||||
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
# RUN: not lld -flavor link /help | FileCheck %s
|
||||
# RUN: not lld -flavor link '/?' | FileCheck %s
|
||||
|
||||
CHECK: USAGE
|
Loading…
Reference in New Issue