mirror of
https://github.com/asciinema/asciinema.git
synced 2025-12-15 19:28:00 +01:00
Rename variable
This commit is contained in:
24
src/main.rs
24
src/main.rs
@@ -63,24 +63,24 @@ fn main() -> ExitCode {
|
|||||||
cmd.run().report()
|
cmd.run().report()
|
||||||
}
|
}
|
||||||
|
|
||||||
Commands::Stream(stream) => {
|
Commands::Stream(cmd) => {
|
||||||
let cmd = Session {
|
let cmd = Session {
|
||||||
output_file: None,
|
output_file: None,
|
||||||
rec_input: stream.rec_input,
|
rec_input: cmd.rec_input,
|
||||||
append: false,
|
append: false,
|
||||||
output_format: None,
|
output_format: None,
|
||||||
overwrite: false,
|
overwrite: false,
|
||||||
command: stream.command,
|
command: cmd.command,
|
||||||
rec_env: stream.rec_env,
|
rec_env: cmd.rec_env,
|
||||||
title: stream.title,
|
title: cmd.title,
|
||||||
idle_time_limit: None,
|
idle_time_limit: None,
|
||||||
headless: stream.headless,
|
headless: cmd.headless,
|
||||||
window_size: stream.window_size,
|
window_size: cmd.window_size,
|
||||||
stream_local: stream.local,
|
stream_local: cmd.local,
|
||||||
stream_remote: stream.remote,
|
stream_remote: cmd.remote,
|
||||||
return_: stream.return_,
|
return_: cmd.return_,
|
||||||
log_file: stream.log_file,
|
log_file: cmd.log_file,
|
||||||
server_url: stream.server_url,
|
server_url: cmd.server_url,
|
||||||
};
|
};
|
||||||
|
|
||||||
cmd.run().report()
|
cmd.run().report()
|
||||||
|
|||||||
Reference in New Issue
Block a user