mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Remove --all
from cargo package
.
This commit is contained in:
parent
8b0671add3
commit
cafc0002e7
@ -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",
|
||||
|
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user