diff --git a/docs/launch.rst b/docs/launch.rst index 51ed8f067..a00ceb9eb 100644 --- a/docs/launch.rst +++ b/docs/launch.rst @@ -1,6 +1,9 @@ Launching programs in new windows/tabs ======================================== +.. program:: launch + + Syntax reference ------------------ diff --git a/kitty/cmds.py b/kitty/cmds.py index b82426450..c378b1f19 100644 --- a/kitty/cmds.py +++ b/kitty/cmds.py @@ -780,8 +780,8 @@ def new_window(boss, window, payload): 'Run an arbitrary process in a new window/tab', ' Prints out the id of the newly opened window. Any command line arguments' ' are assumed to be the command line used to run in the new window, if none' - ' are provided, the default shell is run. For example:\n' - ':italic:`kitty @ launch --title Email mutt`', + ' are provided, the default shell is run. For example:' + ' :italic:`kitty @ launch --title Email mutt`.', options_spec=MATCH_TAB_OPTION + '\n\n' + '''\ --no-response type=bool-set