mirror of
https://github.com/clap-rs/clap
synced 2024-11-10 06:44:16 +00:00
parent
5d9920480c
commit
8aafddff01
2 changed files with 1 additions and 2 deletions
|
@ -46,7 +46,7 @@ struct Opt {
|
|||
command_with_args: Vec<String>,
|
||||
#[arg(short, long, value_hint = ValueHint::Username)]
|
||||
user: Option<String>,
|
||||
#[arg(short, long, value_hint = ValueHint::Hostname)]
|
||||
#[arg(long, value_hint = ValueHint::Hostname)]
|
||||
host: Option<String>,
|
||||
#[arg(long, value_hint = ValueHint::Url)]
|
||||
url: Option<String>,
|
||||
|
|
|
@ -79,7 +79,6 @@ fn build_cli() -> Command {
|
|||
)
|
||||
.arg(
|
||||
Arg::new("host")
|
||||
.short('h')
|
||||
.long("host")
|
||||
.value_hint(ValueHint::Hostname),
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue