@@ -856,7 +856,9 @@ def command_freeze(session_name, socket_name, socket_path, force):
856856@click .argument ('config' , type = ConfigPath (exists = True ), nargs = - 1 )
857857@click .option ('-S' , 'socket_path' , help = 'pass-through for tmux -S' )
858858@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+ )
860862@click .option ('--yes' , '-y' , 'answer_yes' , help = 'yes' , is_flag = True )
861863@click .option (
862864 '-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):
874876 flag_value = 88 ,
875877 help = 'Like -2, but indicates that the terminal supports 88 colours.' ,
876878)
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+ )
878882def command_load (
879883 ctx ,
880884 config ,
@@ -884,6 +888,7 @@ def command_load(
884888 answer_yes ,
885889 detached ,
886890 colors ,
891+ log_file
887892):
888893 """Load a tmux workspace from each CONFIG.
889894
0 commit comments