diff options
Diffstat (limited to 'src/game_of_life.cpp')
-rw-r--r-- | src/game_of_life.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/game_of_life.cpp b/src/game_of_life.cpp index a6c327d..2d6d5ee 100644 --- a/src/game_of_life.cpp +++ b/src/game_of_life.cpp @@ -6,9 +6,10 @@ #include <getopt.h> #include <vector> -const std::vector<option> options = { option({ "seed", required_argument, nullptr, 's' }), - option({ "help", no_argument, nullptr, 'h' }), - option({ nullptr, 0, nullptr, 0 }) }; +const std::vector<option> options = { + option({"seed", required_argument, nullptr, 's'}), + option({"help", no_argument, nullptr, 'h'}), + option({nullptr, 0, nullptr, 0})}; auto main(int argc, char *argv[]) noexcept -> int { |