Skip to content

Commit 705f7d8

Browse files
committed
Updating debug-info docs
1 parent 0650d14 commit 705f7d8

File tree

4 files changed

+22
-6
lines changed

4 files changed

+22
-6
lines changed

docs/cli.rst

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,22 @@ are created, the last session is named from the terminal.
184184
185185
$ tmxup load -s <new_session_name> <filename1> ...
186186
187+
.. _cli_debug_info:
188+
189+
Debug Info
190+
----------
191+
192+
Use to collect all relevant information for submitting an issue to the project.
193+
194+
.. code-block:: bash
195+
196+
$ tmuxp debug-info
197+
--------------------------
198+
environment:
199+
system: Linux
200+
arch: x86_64
201+
...
202+
187203
.. _cli_import:
188204

189205
Import

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ skip-string-normalization = true
33

44
[tool.poetry]
55
name = "tmuxp"
6-
version = "1.6.1"
6+
version = "1.7.0"
77
description = "tmux session manager"
88
license = "MIT"
99
authors = ["Tony Narlock <tony@git-pull.com>"]

tmuxp/__about__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
__title__ = 'tmuxp'
22
__package_name__ = 'tmuxp'
3-
__version__ = '1.6.1'
3+
__version__ = '1.7.0'
44
__description__ = 'tmux session manager'
55
__email__ = 'tony@git-pull.com'
66
__author__ = 'Tony Narlock'

tmuxp/cli.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1081,7 +1081,7 @@ def prepend_tab(strings):
10811081
strings
10821082
))
10831083

1084-
def generate_output_break():
1084+
def output_break():
10851085
"""
10861086
Generate output break.
10871087
"""
@@ -1100,14 +1100,14 @@ def format_tmux_resp(std_resp):
11001100
])
11011101

11021102
output = [
1103-
generate_output_break(),
1103+
output_break(),
11041104
'environment:\n%s' % '\n'.join(prepend_tab([
11051105
'system: %s' % os.uname().sysname,
11061106
'arch: %s' % os.uname().machine,
11071107
'os: {0} {1}'.format(os.uname().nodename, os.uname().version),
11081108
'kernel: %s' % os.uname().release,
11091109
])),
1110-
generate_output_break(),
1110+
output_break(),
11111111
'python version: %s' % ' '.join(sys.version.split('\n')),
11121112
'system PATH: %s' % os.environ['PATH'],
11131113
'tmux version: %s' % get_version(),
@@ -1116,7 +1116,7 @@ def format_tmux_resp(std_resp):
11161116
'tmux path: %s' % which('tmux'),
11171117
'tmuxp path: %s' % tmuxp_path,
11181118
'shell: %s' % os.environ['SHELL'],
1119-
generate_output_break(),
1119+
output_break(),
11201120
'tmux sessions:\n%s' % format_tmux_resp(
11211121
tmux_cmd('list-sessions')
11221122
),

0 commit comments

Comments
 (0)