We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea8ba47 commit cf4d64dCopy full SHA for cf4d64d
tmc-langs-cli/src/app.rs
@@ -286,7 +286,7 @@ pub enum Core {
286
#[clap(long)]
287
download_template: bool,
288
/// Exercise id of an exercise that should be downloaded. Multiple ids can be given.
289
- #[clap(long, required = true)]
+ #[clap(long, multiple = true, required = true)]
290
exercise_id: Vec<u32>,
291
},
292
@@ -841,6 +841,12 @@ mod core_test {
841
"--exercise-id",
842
"2345",
843
]);
844
+ get_matches_core(&[
845
+ "download-or-update-course-exercises",
846
+ "--exercise-id",
847
+ "1234",
848
+ "2345",
849
+ ]);
850
}
851
852
#[test]
0 commit comments