mirror of
https://github.com/cargo-bins/cargo-binstall.git
synced 2025-06-14 22:56:37 +00:00
fix: docs for override help text
This commit is contained in:
parent
74d2fae013
commit
19414f8058
1 changed files with 10 additions and 4 deletions
|
@ -117,11 +117,15 @@ pub struct Args {
|
||||||
)]
|
)]
|
||||||
pub(crate) git: Option<binstalk::registry::GitUrl>,
|
pub(crate) git: Option<binstalk::registry::GitUrl>,
|
||||||
|
|
||||||
/// Override Cargo.toml package manifest bin-dir.
|
/// Path template for binary files in packages
|
||||||
|
///
|
||||||
|
/// Overrides the Cargo.toml package manifest bin-dir.
|
||||||
#[clap(help_heading = "Overrides", long)]
|
#[clap(help_heading = "Overrides", long)]
|
||||||
pub(crate) bin_dir: Option<String>,
|
pub(crate) bin_dir: Option<String>,
|
||||||
|
|
||||||
/// Override Cargo.toml package manifest pkg-fmt.
|
/// Format for package downloads
|
||||||
|
///
|
||||||
|
/// Overrides the Cargo.toml package manifest pkg-fmt.
|
||||||
///
|
///
|
||||||
/// The available package formats are:
|
/// The available package formats are:
|
||||||
///
|
///
|
||||||
|
@ -141,8 +145,10 @@ pub struct Args {
|
||||||
#[clap(help_heading = "Overrides", long, value_name = "PKG_FMT")]
|
#[clap(help_heading = "Overrides", long, value_name = "PKG_FMT")]
|
||||||
pub(crate) pkg_fmt: Option<PkgFmt>,
|
pub(crate) pkg_fmt: Option<PkgFmt>,
|
||||||
|
|
||||||
/// Override Cargo.toml package manifest pkg-url.
|
/// URL template for package downloads
|
||||||
#[clap(help_heading = "Overrides", long, value_name = "URL")]
|
///
|
||||||
|
/// Overrides the Cargo.toml package manifest pkg-url.
|
||||||
|
#[clap(help_heading = "Overrides", long, value_name = "TEMPLATE")]
|
||||||
pub(crate) pkg_url: Option<String>,
|
pub(crate) pkg_url: Option<String>,
|
||||||
|
|
||||||
/// Override the rate limit duration.
|
/// Override the rate limit duration.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue