@@ -1000,7 +1000,9 @@ def command_freeze(session_name, socket_name, socket_path, force):
1000
1000
@click .argument ('config' , type = ConfigPath (exists = True ), nargs = - 1 )
1001
1001
@click .option ('-S' , 'socket_path' , help = 'pass-through for tmux -S' )
1002
1002
@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
+ )
1004
1006
@click .option ('--yes' , '-y' , 'answer_yes' , help = 'yes' , is_flag = True )
1005
1007
@click .option (
1006
1008
'-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):
1018
1020
flag_value = 88 ,
1019
1021
help = 'Like -2, but indicates that the terminal supports 88 colours.' ,
1020
1022
)
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
+ )
1022
1026
def command_load (
1023
1027
ctx ,
1024
1028
config ,
@@ -1028,6 +1032,7 @@ def command_load(
1028
1032
answer_yes ,
1029
1033
detached ,
1030
1034
colors ,
1035
+ log_file
1031
1036
):
1032
1037
"""Load a tmux workspace from each CONFIG.
1033
1038
0 commit comments