diff options
| author | vimene <vincent.menegaux@gmail.com> | 2023-12-05 10:56:38 +0100 |
|---|---|---|
| committer | vimene <vincent.menegaux@gmail.com> | 2023-12-05 10:56:38 +0100 |
| commit | 19c3e2b83c3c8b58576050b448f2f35d0687e717 (patch) | |
| tree | a49b4a99b261830fc85daaa96473ff617ad9bdcb | |
| parent | 9b70ca7b3a1b7bfd3bf434d8b84bde42f5572ca0 (diff) | |
| download | engine-19c3e2b83c3c8b58576050b448f2f35d0687e717.tar.gz | |
fixed missing `help' option in usage
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/engine.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -26,7 +26,7 @@ You can run tests: ### Running - Usage: ./engine [-tg] [--term] [--graphical] + Usage: ./engine [-htg] [--help] [--term] [--graphical] -h, --help show usage (this) -t, --term terminal mode -g, --graphical graphical mode (default) diff --git a/src/engine.cpp b/src/engine.cpp index 91c0b80..adfe43a 100644 --- a/src/engine.cpp +++ b/src/engine.cpp @@ -40,7 +40,7 @@ #define MODE_GRAPHICAL 2 static void print_usage(std::ostream& output_stream) { - output_stream << "Usage: ./engine [-tg] [--term] [--graphical]\n" + output_stream << "Usage: ./engine [-htg] [--help] [--term] [--graphical]\n" << " -h, --help show usage (this)\n" << " -t, --term terminal mode\n" << " -g, --graphical graphical mode (default)\n" |
