Skip to content

Commit

Permalink
hide duplicate registry arg
Browse files Browse the repository at this point in the history
  • Loading branch information
calvinrp committed May 16, 2024
1 parent b173d79 commit d064cd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/commands/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ pub struct LoginCommand {

/// The URL of the registry to use.
#[clap(value_name = "URL")]
#[arg(hide = true)]
pub registry_url: Option<String>,

/// Ignore federation hints.
Expand Down
1 change: 1 addition & 0 deletions src/commands/logout.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ pub struct LogoutCommand {

/// The URL of the registry to use.
#[clap(value_name = "URL")]
#[arg(hide = true)]
pub registry_url: Option<String>,
}

Expand Down

0 comments on commit d064cd4

Please sign in to comment.