|
@@ -28,11 +28,10 @@
|
28
|
28
|
#include <vector>
|
29
|
29
|
#include <glm/glm.hpp>
|
30
|
30
|
|
31
|
|
-static std::string validStringArguments[] = { "bordersize", "padding", "color", "shader", "highlight", "format", "tolerance", "nodecorations", "nokeyboard", "help", "xdisplay" };
|
32
|
|
-static char validCharArguments[] = { 'b', 'p', 'c', 's', 'h', 'f', 't', 'n', 'k', 'h', 'x' };
|
33
|
|
-// 0 for flag, 1 for how many arguments to eat up
|
34
|
|
-static unsigned int isFlagArgument[] = { false, false, false, false, true, false, false, true, true, true, false};
|
35
|
|
-static unsigned int validArgumentCount = 11;
|
|
31
|
+static std::string validStringArguments[] = { "bordersize", "padding", "color", "shader", "highlight", "format", "tolerance", "nodecorations", "nokeyboard", "help", "xdisplay", "version" };
|
|
32
|
+static char validCharArguments[] = { 'b', 'p', 'c', 's', 'h', 'f', 't', 'n', 'k', 'h', 'x', 'v' };
|
|
33
|
+static unsigned int isFlagArgument[] = { false, false, false, false, true, false, false, true, true, true, false, true };
|
|
34
|
+static unsigned int validArgumentCount = 12;
|
36
|
35
|
static unsigned int maxFloatingValues = 0;
|
37
|
36
|
|
38
|
37
|
class Options {
|