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:
Érico Rolim 2020-09-03 14:45:31 -03:00 committed by Simon Ser
parent 2ea5d2985a
commit 08095e99f3
1 changed files with 3 additions and 1 deletions

View File

@ -51,7 +51,9 @@ _swaymsg_ [options...] [message]
If you have quoted multi-word strings in your command, enclose the entire
command in single-quotes. For example, use
_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
two hyphens (_--_) before the command to signal to swaymsg not to parse
anything beyond that point as an option. For example, use