diff options
Diffstat (limited to 'sway/commands/output/dpms.c')
-rw-r--r-- | sway/commands/output/dpms.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/commands/output/dpms.c b/sway/commands/output/dpms.c index 3492061e..9d75a80e 100644 --- a/sway/commands/output/dpms.c +++ b/sway/commands/output/dpms.c | |||
@@ -4,10 +4,10 @@ | |||
4 | 4 | ||
5 | struct cmd_results *output_cmd_dpms(int argc, char **argv) { | 5 | struct cmd_results *output_cmd_dpms(int argc, char **argv) { |
6 | if (!config->handler_context.output_config) { | 6 | if (!config->handler_context.output_config) { |
7 | return cmd_results_new(CMD_FAILURE, "output", "Missing output config"); | 7 | return cmd_results_new(CMD_FAILURE, "Missing output config"); |
8 | } | 8 | } |
9 | if (!argc) { | 9 | if (!argc) { |
10 | return cmd_results_new(CMD_INVALID, "output", "Missing dpms argument."); | 10 | return cmd_results_new(CMD_INVALID, "Missing dpms argument."); |
11 | } | 11 | } |
12 | 12 | ||
13 | if (parse_boolean(argv[0], true)) { | 13 | if (parse_boolean(argv[0], true)) { |