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

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