From 577f695af5124473561e58f0e9aaf531f2846f48 Mon Sep 17 00:00:00 2001 From: Daira Hopwood Date: Fri, 11 Mar 2022 19:02:31 +0000 Subject: [PATCH] Set `meta` for `-datadir` option. Signed-off-by: Daira Hopwood --- src/rust/bin/wallet_tool.rs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/rust/bin/wallet_tool.rs b/src/rust/bin/wallet_tool.rs index e0fc21dc2..73593c8e0 100644 --- a/src/rust/bin/wallet_tool.rs +++ b/src/rust/bin/wallet_tool.rs @@ -33,7 +33,11 @@ struct CliOptions { )] conf: Option, - #[options(no_short, help = "Specify data directory (this path cannot use '~')")] + #[options( + no_short, + help = "Specify data directory (this path cannot use '~')", + meta = "PATH" + )] datadir: Option, #[options(no_short, help = "Use the test chain")]