mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-04-29 00:21:14 -03:00
commandline.rst: deprecate --tokens-raw option
This was added without a use case. Now there is a use case (#11084) that needs it to include all tokens which the sister option "--tokens-expanded" should not do. The inconsistency is probably not worth it, given that this "--tokens-raw" use case can be served by a future "read -zal --tokenize-raw".
This commit is contained in:
@@ -90,10 +90,7 @@ The following options change the way ``commandline`` prints the current commandl
|
||||
Perform argument expansion on the selection and print one argument per line.
|
||||
Command substitutions are not expanded but forwarded as-is.
|
||||
|
||||
**--tokens-raw**
|
||||
Print arguments in the selection as they appear on the command line, one per line.
|
||||
|
||||
**-o** or **tokenize**
|
||||
**-o**, **tokenize**, **--tokens-raw**
|
||||
Deprecated; do not use.
|
||||
|
||||
If ``commandline`` is called during a call to complete a given string using ``complete -C STRING``, ``commandline`` will consider the specified string to be the current contents of the command line.
|
||||
|
||||
Reference in New Issue
Block a user