Skip to content

Commit 21bd6ff

Browse files
committed
Slightly nicer CLI
Signed-off-by: Sergey "Shnatsel" Davidoff <[email protected]>
1 parent 604fac8 commit 21bd6ff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cargo-cyclonedx/src/cli.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,15 +26,15 @@ pub enum Opts {
2626
#[clap(group(ArgGroup::new("dependencies-group").required(false).args(&["all", "top-level"])))]
2727
pub struct Args {
2828
/// Path to Cargo.toml
29-
#[clap(long = "manifest-path", value_name = "PATH")]
29+
#[clap(long = "manifest-path", value_name = "PATH", value_hint = clap::ValueHint::FilePath)]
3030
pub manifest_path: Option<path::PathBuf>,
3131

3232
/// Output BOM format: json, xml
3333
#[clap(long = "format", short = 'f', value_name = "FORMAT")]
3434
pub format: Option<Format>,
3535

3636
/// What to describe in the SBOM: `crate`, `binaries` or `all-cargo-targets`
37-
#[clap(long = "describe", value_name = "SBOM_TARGET")]
37+
#[clap(long = "describe")]
3838
pub describe: Option<Describe>,
3939

4040
/// Use verbose output (-vv for debug logging, -vvv for tracing)

0 commit comments

Comments
 (0)