chore: Rename registry-path arg to registry-namespace but keep previous as alias
This commit is contained in:
parent
6b4c86f01f
commit
fec33d8c98
1 changed files with 3 additions and 2 deletions
|
|
@ -71,7 +71,8 @@ pub struct BuildCommand {
|
|||
/// project images.
|
||||
#[arg(long)]
|
||||
#[builder(default, setter(into, strip_option))]
|
||||
registry_path: Option<String>,
|
||||
#[arg(visible_alias("registry-path"))]
|
||||
registry_namespace: Option<String>,
|
||||
|
||||
/// The username to login to the
|
||||
/// container registry.
|
||||
|
|
@ -380,7 +381,7 @@ impl BuildCommand {
|
|||
.ok()
|
||||
.map(|s| s.to_lowercase()),
|
||||
self.registry.as_ref().map(|s| s.to_lowercase()),
|
||||
self.registry_path.as_ref().map(|s| s.to_lowercase()),
|
||||
self.registry_namespace.as_ref().map(|s| s.to_lowercase()),
|
||||
) {
|
||||
(_, _, _, _, Some(registry), Some(registry_path)) => {
|
||||
trace!("registry={registry}, registry_path={registry_path}");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue