Skip to content

Commit 583793f

Browse files
committed
working on logging (saving work while switching branch)
1 parent d454d5d commit 583793f

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tmuxp/cli.py

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1000,7 +1000,9 @@ def command_freeze(session_name, socket_name, socket_path, force):
10001000
@click.argument('config', type=ConfigPath(exists=True), nargs=-1)
10011001
@click.option('-S', 'socket_path', help='pass-through for tmux -S')
10021002
@click.option('-L', 'socket_name', help='pass-through for tmux -L')
1003-
@click.option('-s', 'new_session_name', help='start new session with new session name')
1003+
@click.option(
1004+
'-s', 'new_session_name', help='start new session with new session name'
1005+
)
10041006
@click.option('--yes', '-y', 'answer_yes', help='yes', is_flag=True)
10051007
@click.option(
10061008
'-d', 'detached', help='Load the session without attaching it', is_flag=True
@@ -1018,7 +1020,9 @@ def command_freeze(session_name, socket_name, socket_path, force):
10181020
flag_value=88,
10191021
help='Like -2, but indicates that the terminal supports 88 colours.',
10201022
)
1021-
@click.option('--log-file', 'log_file', help='File to log output to')
1023+
@click.option(
1024+
'--log-file', 'log_file', default=None, help='File to log output to'
1025+
)
10221026
def command_load(
10231027
ctx,
10241028
config,
@@ -1028,6 +1032,7 @@ def command_load(
10281032
answer_yes,
10291033
detached,
10301034
colors,
1035+
log_file
10311036
):
10321037
"""Load a tmux workspace from each CONFIG.
10331038

0 commit comments

Comments
 (0)