Remove --all from cargo package.

This commit is contained in:
Eric Huss 2021-07-30 12:59:35 -07:00
parent 8b0671add3
commit cafc0002e7
2 changed files with 3 additions and 1 deletions

View File

@ -28,7 +28,7 @@ pub fn cli() -> App {
.arg_target_triple("Build for the target triple")
.arg_target_dir()
.arg_features()
.arg_package_spec(
.arg_package_spec_no_all(
"Package(s) to assemble",
"Assemble all packages in the workspace",
"Don't assemble specified packages",

View File

@ -27,6 +27,8 @@ pub type App = clap::App<'static, 'static>;
pub trait AppExt: Sized {
fn _arg(self, arg: Arg<'static, 'static>) -> Self;
/// Do not use this method, it is only for backwards compatibility.
/// Use `arg_package_spec_no_all` instead.
fn arg_package_spec(
self,
package: &'static str,