mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-04-21 13:08:42 +00:00
Simplify short help output
This commit is contained in:
parent
235bcac300
commit
0abfcbd1fb
1 changed files with 4 additions and 3 deletions
|
@ -36,7 +36,7 @@ struct Options {
|
||||||
#[clap(long, default_value = "*")]
|
#[clap(long, default_value = "*")]
|
||||||
version: String,
|
version: String,
|
||||||
|
|
||||||
/// Override binary target set. Defaults to a set of targets based on the current platform.
|
/// Override binary target set.
|
||||||
///
|
///
|
||||||
/// Binstall is able to look for binaries for several targets, installing the first one it finds
|
/// Binstall is able to look for binaries for several targets, installing the first one it finds
|
||||||
/// in the order the targets were given. For example, on a 64-bit glibc Linux distribution, the
|
/// in the order the targets were given. For example, on a 64-bit glibc Linux distribution, the
|
||||||
|
@ -45,13 +45,14 @@ struct Options {
|
||||||
/// considered.
|
/// considered.
|
||||||
///
|
///
|
||||||
/// This option takes a comma-separated list of target triples, which will be tried in order.
|
/// This option takes a comma-separated list of target triples, which will be tried in order.
|
||||||
|
/// They override the default list, which is detected automatically from the current platform.
|
||||||
///
|
///
|
||||||
/// If falling back to installing from source, the first target will be used.
|
/// If falling back to installing from source, the first target will be used.
|
||||||
#[clap(
|
#[clap(
|
||||||
help_heading = "OVERRIDES",
|
help_heading = "OVERRIDES",
|
||||||
alias = "target",
|
alias = "target",
|
||||||
long,
|
long,
|
||||||
value_name = "triple"
|
value_name = "TRIPLE"
|
||||||
)]
|
)]
|
||||||
targets: Option<String>,
|
targets: Option<String>,
|
||||||
|
|
||||||
|
@ -94,7 +95,7 @@ struct Options {
|
||||||
/// Utility log level
|
/// Utility log level
|
||||||
///
|
///
|
||||||
/// Set to `debug` when submitting a bug report.
|
/// Set to `debug` when submitting a bug report.
|
||||||
#[clap(long, default_value = "info")]
|
#[clap(long, default_value = "info", value_name = "LEVEL")]
|
||||||
log_level: LevelFilter,
|
log_level: LevelFilter,
|
||||||
|
|
||||||
/// Override Cargo.toml package manifest bin-dir.
|
/// Override Cargo.toml package manifest bin-dir.
|
||||||
|
|
Loading…
Add table
Reference in a new issue