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
+7-3Lines changed: 7 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(short, long = "kind",help = "The oracle kinds to handle tasks as, if omitted will default to all registered kinds.", value_parser = parse_oracle_kind)]
35
+
#[arg(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,7 +48,11 @@ pub enum Commands {
48
48
value_parser = parse_block_number_or_tag
49
49
)]
50
50
to:Option<BlockNumberOrTag>,
51
-
#[arg(help = "Optional task id to serve specifically.", required = false)]
51
+
#[arg(
52
+
long,
53
+
help = "Optional task id to serve specifically.",
54
+
required = false
55
+
)]
52
56
task_id:Option<U256>,
53
57
},
54
58
/// View tasks. fsdkhfk fsdkjfdks
@@ -57,7 +61,7 @@ pub enum Commands {
57
61
from:Option<BlockNumberOrTag>,
58
62
#[arg(long, help = "Ending block number, defaults to 'latest'.", value_parser = parse_block_number_or_tag)]
0 commit comments