File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -636,20 +636,20 @@ def session_check_name(session_name):
636
636
def handle_option_error (error ):
637
637
"""Raises exception if error in option command found.
638
638
639
- Purpose: As of tmux 2.4, there are now 3 different types of option errors:
639
+ In tmux 3.0, show-option and show-window-otion return invalid option instead of
640
+ unknown option. See https://github.com/tmux/tmux/blob/3.0/cmd-show-options.c.
641
+
642
+ In tmux >2.4, there are 3 different types of option errors:
640
643
641
644
- unknown option
642
645
- invalid option
643
646
- ambiguous option
644
647
645
- Before 2.4, unknown option was the user .
648
+ In tmux < 2.4, unknown option was the only option .
646
649
647
650
All errors raised will have the base error of :exc:`exc.OptionError`. So to
648
651
catch any option error, use ``except exc.OptionError``.
649
652
650
- In tmux 3.0, show-option and show-window-otion return invalid option instead of
651
- unknown option. See https://github.com/tmux/tmux/blob/3.0/cmd-show-options.c.
652
-
653
653
Parameters
654
654
----------
655
655
error : str
You can’t perform that action at this time.
0 commit comments