Fix monitor's -o long variant name

This commit is contained in:
Bastien Dejean 2017-07-30 14:23:29 +02:00
parent 01ad5c5c49
commit a4c5b29212

View file

@ -859,7 +859,7 @@ void cmd_monitor(char **args, int num, FILE *rsp)
}
remove_monitor(trg.monitor);
return;
} else if (streq("-o", *args) || streq("--order-desktops", *args)) {
} else if (streq("-o", *args) || streq("--reorder-desktops", *args)) {
num--, args++;
if (num < 1) {
fail(rsp, "monitor %s: Not enough arguments.\n", *(args - 1));