Skip to content

Commit dd5caa7

Browse files
committed
chore: Rename --export-image-manifest-uris CLI argument
1 parent 79e59b3 commit dd5caa7

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

rust/boil/src/build/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,13 @@ pub struct BuildArguments {
9494
long,
9595
alias = "export-tags-file",
9696
help_heading = "Build Options",
97-
value_name = "EXPORT_FILE",
97+
value_name = "FILE",
9898
value_hint = ValueHint::FilePath,
9999
value_parser = value_parser!(PathBuf),
100100
default_missing_value = "boil-target-tags",
101101
num_args(0..=1)
102102
)]
103-
pub export_image_manifest_uris: Option<PathBuf>,
103+
pub write_image_manifest_uris: Option<PathBuf>,
104104

105105
/// Strips the architecture from the image (index) manifest tag.
106106
#[arg(long, help_heading = "Build Options")]

rust/boil/src/build/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ pub fn run_command(args: BuildArguments, config: Config) -> Result<(), Error> {
5656
let count = image_manifest_uris.len();
5757

5858
// Write the image manifest URIs to file if requested
59-
if let Some(path) = args.export_image_manifest_uris {
59+
if let Some(path) = args.write_image_manifest_uris {
6060
std::fs::write(path, image_manifest_uris.join("\n"))
6161
.context(WriteImageManifestUrisFileSnafu)?;
6262
}

0 commit comments

Comments
 (0)