mirror of
https://github.com/rust-lang/rustlings.git
synced 2026-01-08 11:49:19 +00:00
add field in watchArg
This commit is contained in:
parent
54804e344d
commit
ea4b8ade51
@ -56,7 +56,11 @@ struct VerifyArgs {}
|
||||
#[derive(FromArgs, PartialEq, Debug)]
|
||||
#[argh(subcommand, name = "watch")]
|
||||
/// Reruns `verify` when files were edited
|
||||
struct WatchArgs {}
|
||||
struct WatchArgs {
|
||||
#[argh(positional)]
|
||||
/// the name of the exercise at which start to watch
|
||||
name: String
|
||||
}
|
||||
|
||||
#[derive(FromArgs, PartialEq, Debug)]
|
||||
#[argh(subcommand, name = "run")]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user