Skip to content

Commit 40cf928

Browse files
committed
shorthand flag -n for --network
1 parent 2a9206a commit 40cf928

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/icp-cli/src/options.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ impl From<EnvironmentOpt> for EnvironmentSelection {
6767
#[clap(group(ArgGroup::new("network-select").multiple(false)))]
6868
pub(crate) struct NetworkOpt {
6969
/// Name of the network to target, conflicts with environment argument
70-
#[arg(long, env = "ICP_NETWORK", group = "network-select", help_heading = heading::NETWORK_PARAMETERS)]
70+
#[arg(long, short = 'n', env = "ICP_NETWORK", group = "network-select", help_heading = heading::NETWORK_PARAMETERS)]
7171
network: Option<String>,
7272
}
7373

0 commit comments

Comments
 (0)