diff options
| author | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-29 21:55:31 +0200 |
|---|---|---|
| committer | Miquel Sabaté Solà <mikisabate@gmail.com> | 2025-07-29 21:58:02 +0200 |
| commit | 7b7faf70dbdd83020b4bf6f9c3242a994c97665a (patch) | |
| tree | b4adb273557507ee882c235bddcc11425ebf1e46 /crates/cli/src/exercises.rs | |
| parent | b25f575e41f078be3e47d843fda1827881f23646 (diff) | |
| download | mihi-7b7faf70dbdd83020b4bf6f9c3242a994c97665a.tar.gz mihi-7b7faf70dbdd83020b4bf6f9c3242a994c97665a.zip | |
Add exercises to the practice command
The '-e/--exercises' has also been introduced to instruct the 'practice'
command to only go for exercises, and the '-k/--kind' flag allows the
user to further filter which kind of exercise to practice.
Signed-off-by: Miquel Sabaté Solà <mikisabate@gmail.com>
Diffstat (limited to 'crates/cli/src/exercises.rs')
| -rw-r--r-- | crates/cli/src/exercises.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/cli/src/exercises.rs b/crates/cli/src/exercises.rs index a4bff78..b153aca 100644 --- a/crates/cli/src/exercises.rs +++ b/crates/cli/src/exercises.rs @@ -195,7 +195,7 @@ fn rm(mut args: IntoIter<String>) -> i32 { match ans { Ok(true) => match mihi::delete_exercise(selection) { - Ok(_) => println!("Removed '{}' from the database!", selection), + Ok(_) => println!("Removed '{selection}' from the database!"), Err(e) => { println!("error: words: {e}"); return 1; |
