aboutsummaryrefslogtreecommitdiffstats
path: root/swaymsg
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-08-12 22:23:29 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2019-08-13 11:31:51 +0900
commit9bac7e6558b8a8cffcc566a7006f6c9789085db6 (patch)
tree3a4b5420b57e7acb1c1efbcbac16effdf7b27ad8 /swaymsg
parentworkspace: do not destroy if any seat is focusing (diff)
downloadsway-9bac7e6558b8a8cffcc566a7006f6c9789085db6.tar.gz
sway-9bac7e6558b8a8cffcc566a7006f6c9789085db6.tar.zst
sway-9bac7e6558b8a8cffcc566a7006f6c9789085db6.zip
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')
-rw-r--r--swaymsg/swaymsg.1.scd5
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]
46 46
47 See **sway**(5) for a list of commands. 47 See **sway**(5) for a list of commands.
48 48
49 Tip: If you are proving a command that contains a leading hyphen (_-_),
50 insert two hyphens (_--_) before the command to signal to swaymsg not to
51 parse anything beyond that point as an option. For example, use
52 _swaymsg -- mark --add test_ instead of _swaymsg mark --add test_
53
49*get\_workspaces* 54*get\_workspaces*
50 Gets a JSON-encoded list of workspaces and their status. 55 Gets a JSON-encoded list of workspaces and their status.
51 56