mirror of
https://github.com/dtolnay/cargo-expand.git
synced 2025-04-06 22:37:38 +03:00
Easier way to pass a single command argument
This commit is contained in:
parent
7c11e5d1e8
commit
60d01a297f
1 changed files with 1 additions and 1 deletions
|
@ -318,7 +318,7 @@ fn apply_args(cmd: &mut Command, args: &Expand, color: &Coloring, outfile: &Path
|
||||||
if let Some(root_package) = cargo_metadata.root_package() {
|
if let Some(root_package) = cargo_metadata.root_package() {
|
||||||
if let Some(ref default_run) = root_package.default_run {
|
if let Some(ref default_run) = root_package.default_run {
|
||||||
line.arg("--bin");
|
line.arg("--bin");
|
||||||
line.args(Some(default_run));
|
line.arg(default_run);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue