Skip to content
Snippets Groups Projects
Commit 3ef713ee authored by Pascal Engélibert's avatar Pascal Engélibert :bicyclist:
Browse files

distance-oracle: fix cli default interval (!293)

* distance-oracle: fix cli default interval
parent f73a957d
No related branches found
No related tags found
1 merge request!293distance-oracle: fix cli default interval
...@@ -21,7 +21,7 @@ struct Cli { ...@@ -21,7 +21,7 @@ struct Cli {
#[clap(short = 'd', long, default_value = "/tmp/duniter/chains/gdev/distance")] #[clap(short = 'd', long, default_value = "/tmp/duniter/chains/gdev/distance")]
evaluation_result_dir: String, evaluation_result_dir: String,
/// Number of seconds between two evaluations (oneshot if absent) /// Number of seconds between two evaluations (oneshot if absent)
#[clap(short = 'i', long, default_value = "None")] #[clap(short = 'i', long)]
interval: Option<u64>, interval: Option<u64>,
/// Node used for fetching state /// Node used for fetching state
#[clap(short = 'u', long, default_value = "ws://127.0.0.1:9944")] #[clap(short = 'u', long, default_value = "ws://127.0.0.1:9944")]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment