Skip to content

Commit

Permalink
Fix documentation for Server.switch_client.
Browse files Browse the repository at this point in the history
  • Loading branch information
tony committed Apr 29, 2015
1 parent 770aeb4 commit eaa75fb
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
5 changes: 5 additions & 0 deletions CHANGES
Expand Up @@ -4,6 +4,11 @@ Changelog

Here you can find the recent changes to tmuxp.

CURRENT
-------

- [internal]: Fix documentation for :meth:``Session.switch_client()``.

0.1.13
------

Expand Down
6 changes: 2 additions & 4 deletions tmuxp/session.py
Expand Up @@ -88,11 +88,9 @@ def kill_session(self):
raise exc.TmuxpException(proc.stderr)

def switch_client(self, target_session=None):
"""``$ tmux kill-session``.
:param: target_session: str. note this accepts fnmatch(3). 'asdf' will
kill asdfasd
"""``$ tmux switch-client``.
:param: target_session: str. note this accepts fnmatch(3).
"""
proc = self.tmux('switch-client', '-t%s' % self.get('session_id'))

Expand Down

0 comments on commit eaa75fb

Please sign in to comment.