From 83380cc9163a740a9aeea1f71c230ce8d4ff7403 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 22 May 2024 08:33:12 +0530 Subject: [PATCH] Use -- in the doc examples as well --- docs/open_actions.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/open_actions.rst b/docs/open_actions.rst index 551d7172c..f64c73bb5 100644 --- a/docs/open_actions.rst +++ b/docs/open_actions.rst @@ -15,7 +15,7 @@ clicked. Let us illustrate with some examples, first. Create the file # Open any image in the full kitty window by clicking on it protocol file mime image/* - action launch --type=overlay kitten icat --hold ${FILE_PATH} + action launch --type=overlay kitten icat --hold -- ${FILE_PATH} Now, run ``ls --hyperlink=auto`` in kitty and click on the filename of an image, holding down :kbd:`ctrl+shift`. It will be opened over the current @@ -44,7 +44,7 @@ action per entry if you like, for example: # Tail a log file (*.log) in a new OS Window and reduce its font size protocol file ext log - action launch --title ${FILE} --type=os-window tail -f ${FILE_PATH} + action launch --title ${FILE} --type=os-window tail -f -- ${FILE_PATH} action change_font_size current -2