mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-18 17:11:15 -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:
@@ -74,9 +74,9 @@ The following options change the way ``commandline`` prints the current commandl
|
||||
|
||||
**-c** or **--cut-at-cursor**
|
||||
Only print selection up until the current cursor position.
|
||||
If combined with ``--expand-tokens``, this will print up until the last completed token - excluding the token the cursor is in.
|
||||
If combined with ``--tokens-expanded``, this will print up until the last completed token - excluding the token the cursor is in.
|
||||
This is typically what you would want for instance in completions.
|
||||
To get both, use both ``commandline --cut-at-cursor --expand-tokens; commandline --cut-at-cursor --current-token``,
|
||||
To get both, use both ``commandline --cut-at-cursor --tokens-expanded; commandline --cut-at-cursor --current-token``,
|
||||
or ``commandline -cx; commandline -ct`` for short.
|
||||
|
||||
**-x** or **tokens-expanded**
|
||||
|
||||
Reference in New Issue
Block a user