@@ -856,7 +856,9 @@ def command_freeze(session_name, socket_name, socket_path, force):
856
856
@click .argument ('config' , type = ConfigPath (exists = True ), nargs = - 1 )
857
857
@click .option ('-S' , 'socket_path' , help = 'pass-through for tmux -S' )
858
858
@click .option ('-L' , 'socket_name' , help = 'pass-through for tmux -L' )
859
- @click .option ('-s' , 'new_session_name' , help = 'start new session with new session name' )
859
+ @click .option (
860
+ '-s' , 'new_session_name' , help = 'start new session with new session name'
861
+ )
860
862
@click .option ('--yes' , '-y' , 'answer_yes' , help = 'yes' , is_flag = True )
861
863
@click .option (
862
864
'-d' , 'detached' , help = 'Load the session without attaching it' , is_flag = True
@@ -874,7 +876,9 @@ def command_freeze(session_name, socket_name, socket_path, force):
874
876
flag_value = 88 ,
875
877
help = 'Like -2, but indicates that the terminal supports 88 colours.' ,
876
878
)
877
- @click .option ('--log-file' , 'log_file' , help = 'File to log output to' )
879
+ @click .option (
880
+ '--log-file' , 'log_file' , default = None , help = 'File to log output to'
881
+ )
878
882
def command_load (
879
883
ctx ,
880
884
config ,
@@ -884,6 +888,7 @@ def command_load(
884
888
answer_yes ,
885
889
detached ,
886
890
colors ,
891
+ log_file
887
892
):
888
893
"""Load a tmux workspace from each CONFIG.
889
894
0 commit comments