mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-12 23:05:59 +01:00
fix dashes in hyprctl
This commit is contained in:
parent
90ebeaa881
commit
fbcc6936f4
1 changed files with 1 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue