diff options
Diffstat (limited to 'kmscube/cube.cpp')
-rw-r--r-- | kmscube/cube.cpp | 23 |
1 files changed, 10 insertions, 13 deletions
diff --git a/kmscube/cube.cpp b/kmscube/cube.cpp index 4129554..406bb8d 100644 --- a/kmscube/cube.cpp +++ b/kmscube/cube.cpp @@ -34,24 +34,21 @@ bool s_verbose; bool s_fullscreen; unsigned s_num_frames; -int main(int argc, char *argv[]) +int main(int argc, char* argv[]) { OptionSet optionset = { Option("v|verbose", - [&]() - { - s_verbose = true; - }), + [&]() { + s_verbose = true; + }), Option("f|fullscreen", - [&]() - { - s_fullscreen = true; - }), + [&]() { + s_fullscreen = true; + }), Option("n|numframes=", - [&](string s) - { - s_num_frames = stoi(s); - }), + [&](string s) { + s_num_frames = stoi(s); + }), }; optionset.parse(argc, argv); |