diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-15 20:07:52 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-07-15 20:07:52 +0200 |
| commit | fbcc6936f4dc676ff2970e44a919ebc6e24627d3 (patch) | |
| tree | 85d1cab9f269da4f08a9b3ffac812369727667af /hyprctl/main.cpp | |
| parent | 90ebeaa881453c2870b6847b3b533363a293f5ba (diff) | |
fix dashes in hyprctl
Diffstat (limited to 'hyprctl/main.cpp')
| -rw-r--r-- | hyprctl/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hyprctl/main.cpp b/hyprctl/main.cpp index 92ab4f5e..f2f4b712 100644 --- a/hyprctl/main.cpp +++ b/hyprctl/main.cpp @@ -215,7 +215,7 @@ int main(int argc, char** argv) { const auto ARGS = splitArgs(argc, argv); for (auto i = 0; i < ARGS.size(); ++i) { - if (ARGS[i].contains("-")) { + if (ARGS[i][0] == '-') { // parse if (ARGS[i] == "-j" && !fullArgs.contains("j")) { fullArgs += "j"; |
