summaryrefslogtreecommitdiff
path: root/kmscube/cube.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmscube/cube.cpp')
-rw-r--r--kmscube/cube.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/kmscube/cube.cpp b/kmscube/cube.cpp
index 14c340a..eb2f613 100644
--- a/kmscube/cube.cpp
+++ b/kmscube/cube.cpp
@@ -32,6 +32,7 @@
using namespace std;
bool s_verbose;
+bool s_fullscreen;
int main(int argc, char *argv[])
{
@@ -41,6 +42,11 @@ int main(int argc, char *argv[])
{
s_verbose = true;
}),
+ Option("f|fullscreen",
+ [&]()
+ {
+ s_fullscreen = true;
+ }),
};
optionset.parse(argc, argv);