diff --git a/crates/cargo-gpu/src/install.rs b/crates/cargo-gpu/src/install.rs index e5f7359..95ff906 100644 --- a/crates/cargo-gpu/src/install.rs +++ b/crates/cargo-gpu/src/install.rs @@ -65,7 +65,8 @@ impl InstalledBackend { #[non_exhaustive] pub struct Install { /// Directory containing the shader crate to compile. - #[clap(long, default_value = "./")] + #[clap(long, alias("package"), short_alias('p'), default_value = "./")] + #[serde(alias = "package")] pub shader_crate: PathBuf, #[expect( diff --git a/crates/cargo-gpu/src/target_specs.rs b/crates/cargo-gpu/src/target_specs.rs index 00deeef..eef8dca 100644 --- a/crates/cargo-gpu/src/target_specs.rs +++ b/crates/cargo-gpu/src/target_specs.rs @@ -99,7 +99,7 @@ pub fn update_target_specs_files( } else { // copy over the target-specs log::info!( - "target-specs resolution: coping target-specs from `{}`{}", + "target-specs resolution: copying target-specs from `{}`{}", target_specs_dst.display(), if update_files { "" } else { " was skipped" } ); @@ -124,7 +124,7 @@ pub fn update_target_specs_files( ); if update_files { log::info!( - "target-specs: Writing legacy target specs into `{}`", + "target-specs: writing legacy target specs into `{}`", target_specs_dst.display() ); write_legacy_target_specs(&target_specs_dst)?;