diff options
| author | Furkan Sahin <furkan-dev@proton.me> | 2019-08-12 22:23:29 -0400 |
|---|---|---|
| committer | Furkan Sahin <furkan-dev@proton.me> | 2019-08-12 22:23:29 -0400 |
| commit | 78b8d345f2c41675e89f138ef6b6c2f76a0cff2f (patch) | |
| tree | 3a4b5420b57e7acb1c1efbcbac16effdf7b27ad8 /swaymsg/swaymsg.1.scd | |
| parent | c07fce9765993f3e568e92aeef82ab320bdb801b (diff) | |
swaymsg.1: add tip about two hyphens for commands
This adds a tip to the command section about using two hyphens before a
command to signal that no swaymsg options will follow to allow for sway
commands with leading hyphens.
Diffstat (limited to 'swaymsg/swaymsg.1.scd')
| -rw-r--r-- | swaymsg/swaymsg.1.scd | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/swaymsg/swaymsg.1.scd b/swaymsg/swaymsg.1.scd index bcddf35b..639ed5f9 100644 --- a/swaymsg/swaymsg.1.scd +++ b/swaymsg/swaymsg.1.scd @@ -46,6 +46,11 @@ _swaymsg_ [options...] [message] See **sway**(5) for a list of commands. + Tip: If you are proving 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 + _swaymsg -- mark --add test_ instead of _swaymsg mark --add test_ + *get\_workspaces* Gets a JSON-encoded list of workspaces and their status. |
