Skip to content

Commit

Permalink
Improve naming consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
amanjeev committed Jan 29, 2025
1 parent bbab6f8 commit 9e9198b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions crates/criticalup-cli/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ async fn main_inner(whitelabel: WhitelabelConfig, args: &[OsString]) -> Result<(
commands::verify::run(&ctx, project, offline).await?
}
Commands::Which {
binary: tool,
command: tool,
project,
} => commands::which::run(&ctx, tool, project).await?,
Commands::Archive {
Expand Down Expand Up @@ -195,7 +195,7 @@ enum Commands {
/// Display which binary will be run for a given command
Which {
/// Name of the binary to find the absolute path of
binary: String,
command: String,
/// Path to the manifest `criticalup.toml`
#[arg(long)]
project: Option<PathBuf>,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@ stderr
Display which binary will be run for a given command

Usage:
criticalup-test which [OPTIONS] <BINARY>
criticalup-test which [OPTIONS] <COMMAND>

Arguments:
<BINARY> Name of the binary to find the absolute path of
<COMMAND> Name of the binary to find the absolute path of

Options:
--project <PROJECT> Path to the manifest `criticalup.toml`
Expand Down

0 comments on commit 9e9198b

Please sign in to comment.