From 17abd928cfab545a1f672f45a87b0f6656eb304c Mon Sep 17 00:00:00 2001 From: Marco Leogrande Date: Sun, 28 Jan 2024 18:31:56 -0800 Subject: [PATCH] variables are uppercase in the help text --- README.md | 2 +- main.cc | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bb82756..3bacb70 100644 --- a/README.md +++ b/README.md @@ -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) diff --git a/main.cc b/main.cc index 866bc90..e9e0d28 100644 --- a/main.cc +++ b/main.cc @@ -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