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

distance-oracle: fix cli default interval

parent 1ea5bce4
No related branches found
No related tags found
No related merge requests found
Pipeline #38826 waiting for manual action
...@@ -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.
Please register or to comment