Set `meta` for `-datadir` option.

Signed-off-by: Daira Hopwood <daira@jacaranda.org>
This commit is contained in:
Daira Hopwood 2022-03-11 19:02:31 +00:00
parent 3e36252d9a
commit 577f695af5
1 changed files with 5 additions and 1 deletions

View File

@ -33,7 +33,11 @@ struct CliOptions {
)]
conf: Option<String>,
#[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<String>,
#[options(no_short, help = "Use the test chain")]