Skip to content

Commit 1e56793

Browse files
committed
fix missing exercise-id in reset-exercise subcommand
1 parent 06ff94e commit 1e56793

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

tmc-langs-cli/src/app.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,11 @@ fn create_core_app() -> App<'static, 'static> {
488488
.long("exercise-path")
489489
.required(true)
490490
.takes_value(true))
491+
.arg(Arg::with_name("exercise-id")
492+
.help("The ID of the exercise.")
493+
.long("exercise-id")
494+
.required(true)
495+
.takes_value(true))
491496
.arg(Arg::with_name("save-old-state")
492497
.help("If set, the exercise is submitted to the server before resetting it.")
493498
.long("save-old-state")

0 commit comments

Comments
 (0)