From 35041e7709426f92d9cf05523bd52b055938b9ef Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 16 Jun 2018 08:19:33 +0530 Subject: [PATCH] Fix docs links --- docs/index.rst | 7 ++++--- kitty/config_data.py | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/index.rst b/docs/index.rst index 33a024b9d..5e373c5b4 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -262,9 +262,10 @@ see the :doc:`configuration docs `. Startup Sessions ------------------ -You can control the tabs, window layout, working directory, startup -programs, etc. by creating a "session" file and using the :option:`kitty --session` -command line flag. For example: +You can control the tabs, window layout, working directory, startup programs, +etc. by creating a "session" file and using the :option:`kitty --session` +command line flag or the :opt:`startup_session` option in :file:`kitty.conf`. +For example: .. code-block:: session diff --git a/kitty/config_data.py b/kitty/config_data.py index 6522a6b01..715338e16 100644 --- a/kitty/config_data.py +++ b/kitty/config_data.py @@ -618,7 +618,7 @@ Note that this even works over ssh connections. o('startup_session', 'none', option_type=lambda x: (None if x.lower() == 'none' else x), long_text=_(''' Path to a session file to use for all kitty instances. Can be overridden -by using the :option:`--startup-session` command line option for individual +by using the :option:`kitty --session` command line option for individual instances. See :ref:`sessions` in the kitty documentation for details. '''))