cli: Fix argument value names in `auth` and `init`

We decided to use the value names to indicate which type the value
is parsed into (instead of just saying that the value is a `STRING`).

This makes the value names consistent with other commands again.
This commit is contained in:
Erik Kundt 2025-10-17 08:20:30 +02:00 committed by Fintan Halpenny
parent 44efdc02f9
commit 27a85987c3
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@ methods disables the passphrase prompt.
#[command(about = ABOUT, long_about = LONG_ABOUT, disable_version_flag = true)] #[command(about = ABOUT, long_about = LONG_ABOUT, disable_version_flag = true)]
pub struct Args { pub struct Args {
/// When initializing an identity, sets the node alias /// When initializing an identity, sets the node alias
#[arg(long, value_name = "STRING")] #[arg(long)]
pub alias: Option<Alias>, pub alias: Option<Alias>,
/// Read passphrase from stdin /// Read passphrase from stdin