nushell/nushell

Error: nu::parser::extra_positional for "start msedge"

Open

#7,792 建立於 2023年1月19日

在 GitHub 查看
 (7 留言) (0 反應) (0 負責人)Rust (39,478 star) (2,129 fork)batch import
category:enhancementgood first issue

描述

Describe the bug

getting the error "extra positional argument"

How to reproduce

D:\〉start msedge google.com                                                                                                                                              01/19/2023 09:48:56
Error: nu::parser::extra_positional (link)

  × Extra positional argument.
   ╭─[entry #5:1:1]
 1 │ start msedge google.com
   ·              ─────┬────
   ·                   ╰── extra positional argument
   ╰────
  help: Usage: start (filepath)

D:\〉

Expected behavior

open new window of Edge browser and open google.com in it

Screenshots

No response

Configuration

key value
version 0.74.0
branch
commit_hash 9a56665c6beee31e365ce17898056f1ff2db4094
build_os windows-x86_64
build_target x86_64-pc-windows-msvc
rust_version rustc 1.65.0 (897e37553 2022-11-02)
rust_channel 1.65.0-x86_64-pc-windows-msvc
cargo_version cargo 1.65.0 (4bc8f24d3 2022-10-20)
pkg_version 0.74.0
build_time 2023-01-10 20:35:16 +00:00
build_rust_channel release
features database, default, trash, which, zip
installed_plugins

Additional context

No response

貢獻者指南