mirror of
https://github.com/nushell/nushell.git
synced 2025-08-23 22:36:38 +02:00
Fix broken ordering of args when parsing command with env vars. (#1841)
This commit is contained in:
@@ -55,6 +55,12 @@ fn main() -> Result<(), Box<dyn Error>> {
|
||||
.help("the nu script to run")
|
||||
.index(1),
|
||||
)
|
||||
.arg(
|
||||
Arg::with_name("args")
|
||||
.help("positional args (used by --testbin)")
|
||||
.index(2)
|
||||
.multiple(true),
|
||||
)
|
||||
.get_matches();
|
||||
|
||||
if let Some(bin) = matches.value_of("testbin") {
|
||||
|
Reference in New Issue
Block a user