aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Fan <ianfan0@gmail.com>2018-08-11 00:29:24 +0100
committerIan Fan <ianfan0@gmail.com>2018-08-18 15:50:26 +0100
commit453646b88798f4835a4c82cac103c801ddde4818 (patch)
tree0c556d3ecf94b7bd20090cddd8b5c50a273d412b
parent7717c2231a614ba1a7e8ec1b22883e6fe1a228d5 (diff)
downloadsway-453646b88798f4835a4c82cac103c801ddde4818.tar.xz
commands: fix documentation formatting mistakes for move command
-rw-r--r--sway/commands/move.c2
-rw-r--r--sway/sway.5.scd4
2 files changed, 3 insertions, 3 deletions
diff --git a/sway/commands/move.c b/sway/commands/move.c
index acdc50b5..f5eb9124 100644
--- a/sway/commands/move.c
+++ b/sway/commands/move.c
@@ -22,7 +22,7 @@
static const char *expected_syntax =
"Expected 'move <left|right|up|down> <[px] px>' or "
"'move [--no-auto-back-and-forth] <container|window> [to] workspace <name>' or "
- "'move [--no-auto-back-and-forth] <container|window|workspace> [to] output <name|direction>' or "
+ "'move <container|window|workspace> [to] output <name|direction>' or "
"'move <container|window> [to] mark <mark>'";
static struct sway_container *output_in_direction(const char *direction,
diff --git a/sway/sway.5.scd b/sway/sway.5.scd
index 34389e41..8e56d5bb 100644
--- a/sway/sway.5.scd
+++ b/sway/sway.5.scd
@@ -132,7 +132,7 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
If unspecified, the default is 10 pixels. Pixels are ignored when moving
tiled containers.
-*move* [absolute] position <pos_x> [px] <pos_y> [px]
+*move* [absolute] position <pos\_x> [px] <pos\_y> [px]
Moves the focused container to the specified position.
*move* [absolute] position center|mouse
@@ -154,7 +154,7 @@ They are expected to be used with *bindsym* or at runtime through *swaymsg*(1).
Moves the focused container to the previous or next workspace on this
output, wrapping around if already at the first or last workspace.
-*move* container|window [to] workspace back_and_forth
+*move* container|window [to] workspace back\_and\_forth
Moves the focused container to previously focused workspace.
*move* container|window|workspace [to] output <name>