summaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2016-06-04 12:08:17 -0400
committerDrew DeVault <[email protected]>2016-06-04 12:08:17 -0400
commitfdefd17391393c9e79a4654976bc8faed35e487a (patch)
tree2a3e3f6f30168bbf8c6df29250ca77c78b20727f /sway/commands.c
parent8e0b218c9b3bd1b36989f21ec1206ff8132c014d (diff)
parent374654246221f01150f24c37063b6149b769928b (diff)
Merge pull request #695 from zandrmartin/document-client-commands
add documentation for client commands
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 3befee13..83a9e7e9 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -427,7 +427,7 @@ static struct cmd_results *cmd_border(int argc, char **argv) {
static struct cmd_results *parse_border_color(struct border_colors *border_colors, const char *cmd_name, int argc, char **argv) {
struct cmd_results *error = NULL;
if (argc != 5) {
- return cmd_results_new(CMD_INVALID, cmd_name, "Requires exact 5 color values");
+ return cmd_results_new(CMD_INVALID, cmd_name, "Requires exactly five color values");
}
uint32_t colors[5];
@@ -476,7 +476,7 @@ static struct cmd_results *cmd_client_background(int argc, char **argv) {
uint32_t background;
if (argc != 1) {
- return cmd_results_new(CMD_INVALID, "client.background", "Expect exact 1 value");
+ return cmd_results_new(CMD_INVALID, "client.background", "Requires exactly one color value");
}
error = add_color("client.background", buffer, argv[0]);
@@ -737,7 +737,7 @@ static struct cmd_results *cmd_floating_minimum_size(int argc, char **argv) {
}
- sway_log(L_DEBUG, "New floating_minimum_size: '%d' x '%d'", config->floating_minimum_width,
+ sway_log(L_DEBUG, "New floating_minimum_size: '%d' x '%d'", config->floating_minimum_width,
config->floating_minimum_height);
return cmd_results_new(CMD_SUCCESS, NULL, NULL);