Skip to content

Commit

Permalink
[Driver] fix the name name of the compiler in the help message
Browse files Browse the repository at this point in the history
  • Loading branch information
isuckatcs committed Jul 26, 2024
1 parent 28f6e3d commit c5b2f8f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/driver.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ using namespace yl;
namespace {
void displayHelp() {
std::cout << "Usage:\n"
<< " your-compiler [options] <source_file>\n\n"
<< " compiler [options] <source_file>\n\n"
<< "Options:\n"
<< " -h display this message\n"
<< " -o <file> write executable to <file>\n"
Expand Down
2 changes: 1 addition & 1 deletion test/driver/help.yl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// RUN: compiler -h 2>&1 | filecheck %s --strict-whitespace

// CHECK: Usage:
// CHECK-NEXT: your-compiler [options] <source_file>
// CHECK-NEXT: compiler [options] <source_file>
// CHECK-NEXT:
// CHECK-NEXT: Options:
// CHECK-NEXT: -h display this message
Expand Down

0 comments on commit c5b2f8f

Please sign in to comment.