diff options
author | Érico Rolim <erico.erc@gmail.com> | 2020-09-03 14:45:31 -0300 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2020-09-04 12:37:12 +0200 |
commit | 08095e99f3cc1697bc3f20d166a2c19374537afd (patch) | |
tree | c803c8fdbab769358f9dd6431e339df78aabe0c3 /swaymsg/swaymsg.1.scd | |
parent | input/libinput: remove input type property bias (diff) | |
download | sway-08095e99f3cc1697bc3f20d166a2c19374537afd.tar.gz sway-08095e99f3cc1697bc3f20d166a2c19374537afd.tar.zst sway-08095e99f3cc1697bc3f20d166a2c19374537afd.zip |
swaymsg.1: expand tip for multi-word strings.
Strings with commas inside, such as the ones used for
xkb_{config,layout} commands, count as multi-word strings.
Diffstat (limited to 'swaymsg/swaymsg.1.scd')
-rw-r--r-- | swaymsg/swaymsg.1.scd | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/swaymsg/swaymsg.1.scd b/swaymsg/swaymsg.1.scd index 2eba5904..b69013b5 100644 --- a/swaymsg/swaymsg.1.scd +++ b/swaymsg/swaymsg.1.scd | |||
@@ -51,7 +51,9 @@ _swaymsg_ [options...] [message] | |||
51 | If you have quoted multi-word strings in your command, enclose the entire | 51 | If you have quoted multi-word strings in your command, enclose the entire |
52 | command in single-quotes. For example, use | 52 | command in single-quotes. For example, use |
53 | _swaymsg 'output "Foobar Display" enable'_ instead of | 53 | _swaymsg 'output "Foobar Display" enable'_ instead of |
54 | _swaymsg output "Foobar Display" enable_. | 54 | _swaymsg output "Foobar Display" enable_. Furthermore, note that comma |
55 | separated options also count as multi-word strings, because commas can be | ||
56 | used to execute commands on the same line. | ||
55 | - If you are providing a command that contains a leading hyphen (_-_), insert | 57 | - If you are providing a command that contains a leading hyphen (_-_), insert |
56 | two hyphens (_--_) before the command to signal to swaymsg not to parse | 58 | two hyphens (_--_) before the command to signal to swaymsg not to parse |
57 | anything beyond that point as an option. For example, use | 59 | anything beyond that point as an option. For example, use |