Skip to content

Commit

Permalink
variables are uppercase in the help text
Browse files Browse the repository at this point in the history
  • Loading branch information
dark committed Jan 29, 2024
1 parent 70ba111 commit 17abd92
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ This is a toy project to write a generator and solver of **skyscraper
puzzles**.

```
Usage: ./skyscraper (-m|--mode) mode [-z|--size size] [-s|--seed seed] [-o|--output-file filename] [-f|--solution-file filename]
Usage: ./skyscraper (-m|--mode) MODE [-z|--size SIZE] [-s|--seed SEED] [-o|--output-file FILENAME] [-f|--solution-file FILENAME]
Where:
--mode is the program execution mode (only 'create' is supported now)
--size is the board size (default: 5)
Expand Down
4 changes: 2 additions & 2 deletions main.cc
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ ProgramOptions parse_options(int argc, char *argv[]) {
// This is a minor visual impovement, since other modes print other output beforehand.
std::cerr << std::endl;
std::cerr << "Usage: " << argv[0]
<< " (-m|--mode) mode [-z|--size size] [-s|--seed seed]"
<< " [-o|--output-file filename] [-f|--solution-file filename] "
<< " (-m|--mode) MODE [-z|--size SIZE] [-s|--seed SEED]"
<< " [-o|--output-file FILENAME] [-f|--solution-file FILENAME] "
<< std::endl;
std::cerr << "Where:" << std::endl
<< " --mode is the program execution mode (only 'create' is supported now)" << std::endl
Expand Down

0 comments on commit 17abd92

Please sign in to comment.