diff --git a/CHANGELOG.md b/CHANGELOG.md index cfd78c9..53336a8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -52,6 +52,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Removed +- Remove `--skip-wait` - Remove `--preview` - Remove `--scale` diff --git a/README.md b/README.md index fc1b9a3..06ac429 100644 --- a/README.md +++ b/README.md @@ -52,7 +52,6 @@ OPTIONS: --shutdown For doing a shutdown at the end (needs sudo) --skip-chapterer Skips the chapterer --skip-fps-changer Skips the fps changer - --skip-wait Skips the wait time for reading -V, --version Print version information ``` diff --git a/src/main.rs b/src/main.rs index 591d39b..b78a9cb 100644 --- a/src/main.rs +++ b/src/main.rs @@ -7,7 +7,6 @@ use crate::commanders::selector::select; use crate::helpers::str_helper::create_order_of_merging; use clap::ArgMatches; use cli::Cli; -use core::time; use helpers::io_helper::create; use helpers::io_helper::create_tmp_dir; use helpers::io_helper::exit_when_ffmpeg_not_available; @@ -17,7 +16,6 @@ use lazy_static::lazy_static; use path_slash::PathExt; use std::io::Error; use std::path::Path; -use std::thread; use system_shutdown::shutdown; use term_painter::Color::BrightBlue; use term_painter::ToStyle; @@ -39,7 +37,6 @@ fn main() -> Result<(), Error> { let should_shutdown = matches.is_present("shutdown"); let skip_fps_changer = matches.is_present("skip-fps-changer"); let skip_chapterer = matches.is_present("skip-chapterer"); - let skip_wait = matches.is_present("skip-wait"); let fps_from_cli = matches .value_of("fps") .unwrap_or("0") @@ -58,10 +55,6 @@ fn main() -> Result<(), Error> { if *VERBOSE { println!("\n\n📜 Order of merging:\n"); println!("{}\n", create_order_of_merging(&ffmpeg_input_content)); - if !skip_wait { - println!("\n⏳ Waiting 3 seconds to read"); - thread::sleep(time::Duration::from_secs(3)); - } } let tmp_dir = create_tmp_dir(); diff --git a/tests/integration.rs b/tests/integration.rs index e00ac62..63362a8 100644 --- a/tests/integration.rs +++ b/tests/integration.rs @@ -42,7 +42,6 @@ mod integration { let res = get_output( Command::cargo_bin(BIN) .unwrap() - .arg("--skip-wait") .arg(format!("data/{}", test_name)) .assert() .success(), @@ -60,7 +59,6 @@ mod integration { let res = get_output( Command::cargo_bin(BIN) .unwrap() - .arg("--skip-wait") .arg(format!("data/{}", test_name)) .assert() .success(), @@ -103,7 +101,6 @@ mod integration { let res = get_output( Command::cargo_bin(BIN) .unwrap() - .arg("--skip-wait") .arg("--verbose") .arg(format!("data/{}", test_name)) .assert() @@ -133,7 +130,6 @@ mod integration { fn call_merger_against_mp4() { Command::cargo_bin(BIN) .unwrap() - .arg("--skip-wait") .args(&["--format", "mp4"]) .arg("data") .assert() @@ -158,7 +154,6 @@ mod integration { let res = get_output_err( Command::cargo_bin(BIN) .unwrap() - .arg("--skip-wait") .arg(format!("data/{}", test_name)) .assert() .success(), @@ -177,7 +172,6 @@ mod integration { let res = get_output_err( Command::cargo_bin(BIN) .unwrap() - .arg("--skip-wait") .args(["--fps", "25"]) .arg(format!("data/{}", test_name)) .assert() @@ -200,7 +194,6 @@ mod integration { get_output_err( Command::cargo_bin(BIN) .unwrap() - .arg("--skip-wait") .arg(format!("data/{}", test_name)) .arg("--skip-fps-changer") .assert()