nushell/nushell

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

開放

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

 (7 則留言) (0 個反應) (0 位負責人)Rust (2,129 個分叉)batch import
category:enhancementgood first issue

倉庫指標

星標
 (39,478 顆星)
PR 合併指標
 (平均合併 4天 1小時) (30 天內合併 123 個 PR)

描述

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

貢獻者指南