diff --git a/crates/bin/src/args.rs b/crates/bin/src/args.rs index e69befd1..898c8069 100644 --- a/crates/bin/src/args.rs +++ b/crates/bin/src/args.rs @@ -26,8 +26,8 @@ pub struct Args { /// Each value is either a crate name alone, or a crate name followed by @ and the version to /// install. The version syntax is as with the --version option. /// - /// When multiple names are provided, the --version option and any override options are - /// unavailable due to ambiguity. + /// When multiple names are provided, the --version option and override option + /// `manifest_path` is unavailable due to ambiguity. /// /// If duplicate names are provided, the last one (and their version requirement) /// is kept. @@ -249,12 +249,6 @@ pub fn parse() -> Result { "version" } else if opts.manifest_path.is_some() { "manifest-path" - } else if opts.bin_dir.is_some() { - "bin-dir" - } else if opts.pkg_fmt.is_some() { - "pkg-fmt" - } else if opts.pkg_url.is_some() { - "pkg-url" } else { "" };