diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-15 19:57:02 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:59 +0200 |
commit | 019337908e37ffee9b624b313e9d7f885bff9781 (patch) | |
tree | 7f8ba5e8b12fff7723b1af2317c3fba52c0c7011 /src/game_of_life.cpp | |
parent | 741a6008e806abb8e5aaa8f8fb91827fa97ece9d (diff) |
style: change braced list & bracket style
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 { |