diff options
author | Joris | 2023-07-15 09:26:15 +0200 |
---|---|---|
committer | Joris | 2023-07-15 09:27:14 +0200 |
commit | 28c8a3b112e49ed6041e11b44adccdb0d096792e (patch) | |
tree | 9c496a90be3d82e05c4fd88a8fbe185a98ebc594 /src/main.rs | |
parent | 97e2441660b827dbec5fe3bf4512df5eb6d88125 (diff) |
Only show remaining cards, not progress
I am generally interested on decreasing the count of remaining
cards, and I sometimes closed and re-opened the app to have a clear view
of the remaining count.
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs index c671d0e..ddc6edc 100644 --- a/src/main.rs +++ b/src/main.rs @@ -17,9 +17,9 @@ struct Opt { #[clap(long, default_value = "deck.deck")] deck: String, - /// Hide current and remaining card counts + /// Hide remaining card counts #[clap(long)] - hide_progress: bool, + hide_remaining: bool, } fn main() -> Result<()> { @@ -32,7 +32,7 @@ fn main() -> Result<()> { let mut term = gui::setup_terminal()?; - match gui::start(&conn, &mut term, &deck_name, args.hide_progress) { + match gui::start(&conn, &mut term, &deck_name, args.hide_remaining) { Ok(()) => (), Err(msg) => { // Show errors in TUI, otherwise they are hidden |