mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-31 03:51:14 -03:00
Fix stale name of --tokens-expand option
Missed in 368017905 (builtin commandline: -x for expanded tokens, supplanting
-o, 2024-01-06).
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
function __fish_seen_argument --description 'Check whether argument is used'
|
||||
argparse --ignore-unknown 's/short=+' 'o/old=+' 'l/long=+' 'w/windows=+' -- $argv
|
||||
|
||||
set --local tokens (commandline --current-process --expand-tokens --cut-at-cursor)
|
||||
set --local tokens (commandline --current-process --tokens-expanded --cut-at-cursor)
|
||||
set --erase tokens[1]
|
||||
|
||||
for t in $tokens
|
||||
|
||||
Reference in New Issue
Block a user