Skip to content
This repository was archived by the owner on Mar 11, 2025. It is now read-only.

Commit 1119b85

Browse files
committed
use char type parameters for short arguments
1 parent 70e025a commit 1119b85

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

token/cli/src/clap_app.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -567,7 +567,7 @@ pub fn app<'a, 'b>(
567567
.setting(AppSettings::SubcommandRequiredElseHelp)
568568
.arg(
569569
Arg::with_name("config_file")
570-
.short("C")
570+
.short('C')
571571
.long("config")
572572
.value_name("PATH")
573573
.takes_value(true)
@@ -576,7 +576,7 @@ pub fn app<'a, 'b>(
576576
)
577577
.arg(
578578
Arg::with_name("verbose")
579-
.short("v")
579+
.short('v')
580580
.long("verbose")
581581
.takes_value(false)
582582
.global(true)
@@ -593,7 +593,7 @@ pub fn app<'a, 'b>(
593593
)
594594
.arg(
595595
Arg::with_name("program_id")
596-
.short("p")
596+
.short('p')
597597
.long("program-id")
598598
.value_name("ADDRESS")
599599
.takes_value(true)
@@ -603,7 +603,7 @@ pub fn app<'a, 'b>(
603603
)
604604
.arg(
605605
Arg::with_name("json_rpc_url")
606-
.short("u")
606+
.short('u')
607607
.long("url")
608608
.value_name("URL_OR_MONIKER")
609609
.takes_value(true)

0 commit comments

Comments
 (0)