From 0923b24e71b4411352f45963f79d781d2a518c1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Bizjak?= Date: Sun, 12 Nov 2023 13:40:40 +0100 Subject: [PATCH] Fix block identifier default. --- examples/total-stake.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/total-stake.rs b/examples/total-stake.rs index 5873675b3..a2b218100 100644 --- a/examples/total-stake.rs +++ b/examples/total-stake.rs @@ -12,7 +12,8 @@ struct App { )] endpoint: v2::Endpoint, #[structopt( - long = "lastfinal", + long = "block", + default_value = "lastfinal", help = "Block to query the data in. Defaults to last finalized block." )] block: BlockIdentifier,