We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b068d19 commit 30e45f3Copy full SHA for 30e45f3
flang/test/Driver/help.f90
@@ -1,3 +1,4 @@
1
+! RUN: %f18 -h 2>&1 | FileCheck %s
2
! RUN: %f18 -help 2>&1 | FileCheck %s
3
! RUN: %f18 --help 2>&1 | FileCheck %s
4
! RUN: %f18 -? 2>&1 | FileCheck %s
flang/tools/f18/f18.cpp
@@ -603,7 +603,7 @@ int main(int argc, char *const argv[]) {
603
driver.getSymbolsSources = true;
604
} else if (arg == "-byteswapio") {
605
driver.byteswapio = true; // TODO: Pass to lowering, generate call
606
- } else if (arg == "-help" || arg == "--help" || arg == "-?") {
+ } else if (arg == "-h" || arg == "-help" || arg == "--help" || arg == "-?") {
607
llvm::errs()
608
<< "f18: LLVM Fortran compiler\n"
609
<< "\n"
0 commit comments