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:
Johannes Altmanninger
2024-01-27 20:08:53 +01:00
parent 1deb065f59
commit 33a9659cd1
7 changed files with 8 additions and 8 deletions

View File

@@ -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