mirror of
https://github.com/swaywm/sway.git
synced 2024-12-28 16:06:37 +01:00
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.
This commit is contained in:
parent
2ea5d2985a
commit
08095e99f3
1 changed files with 3 additions and 1 deletions
|
@ -51,7 +51,9 @@ _swaymsg_ [options...] [message]
|
||||||
If you have quoted multi-word strings in your command, enclose the entire
|
If you have quoted multi-word strings in your command, enclose the entire
|
||||||
command in single-quotes. For example, use
|
command in single-quotes. For example, use
|
||||||
_swaymsg 'output "Foobar Display" enable'_ instead of
|
_swaymsg 'output "Foobar Display" enable'_ instead of
|
||||||
_swaymsg output "Foobar Display" enable_.
|
_swaymsg output "Foobar Display" enable_. Furthermore, note that comma
|
||||||
|
separated options also count as multi-word strings, because commas can be
|
||||||
|
used to execute commands on the same line.
|
||||||
- If you are providing a command that contains a leading hyphen (_-_), insert
|
- If you are providing a command that contains a leading hyphen (_-_), insert
|
||||||
two hyphens (_--_) before the command to signal to swaymsg not to parse
|
two hyphens (_--_) before the command to signal to swaymsg not to parse
|
||||||
anything beyond that point as an option. For example, use
|
anything beyond that point as an option. For example, use
|
||||||
|
|
Loading…
Reference in a new issue