You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: core/src/cli/commands/mod.rs
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,7 @@ pub enum Commands {
32
32
Claim,
33
33
/// Serve the oracle node.
34
34
Serve{
35
-
#[arg(help = "The oracle kinds to handle tasks as.", required = false, value_parser = parse_oracle_kind)]
35
+
#[arg(short, long = "kind",help = "The oracle kinds to handle tasks as, if omitted will default to all registered kinds.", value_parser = parse_oracle_kind)]
36
36
kinds:Vec<OracleKind>,
37
37
#[arg(short, long = "model", help = "The models to serve.", required = true, value_parser = parse_model)]
38
38
models:Vec<Model>,
@@ -48,8 +48,8 @@ pub enum Commands {
48
48
value_parser = parse_block_number_or_tag
49
49
)]
50
50
to:Option<BlockNumberOrTag>,
51
-
#[arg(help = "Task id.", required = true)]
52
-
task_id:U256,
51
+
#[arg(help = "Optional task id to serve specifically.", required = false)]
0 commit comments