Skip to content

Commit eaa75fb

Browse files
committed
Fix documentation for Server.switch_client.
1 parent 770aeb4 commit eaa75fb

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

CHANGES

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Changelog
44

55
Here you can find the recent changes to tmuxp.
66

7+
CURRENT
8+
-------
9+
10+
- [internal]: Fix documentation for :meth:``Session.switch_client()``.
11+
712
0.1.13
813
------
914

tmuxp/session.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,11 +88,9 @@ def kill_session(self):
8888
raise exc.TmuxpException(proc.stderr)
8989

9090
def switch_client(self, target_session=None):
91-
"""``$ tmux kill-session``.
92-
93-
:param: target_session: str. note this accepts fnmatch(3). 'asdf' will
94-
kill asdfasd
91+
"""``$ tmux switch-client``.
9592
93+
:param: target_session: str. note this accepts fnmatch(3).
9694
"""
9795
proc = self.tmux('switch-client', '-t%s' % self.get('session_id'))
9896

0 commit comments

Comments
 (0)