mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 15:05:27 +08:00
docs/path: Remove incorrect status comments
During development, for a while `path change-extension` would return 0 when it found an extension to change. This was later changed to returning 0 if there are any path arguments. Neither of which is *super* useful, I admit, but we've picked one and the docs shouldn't contradict it.
This commit is contained in:
parent
8abd0319fb
commit
0aa21440d1
@ -365,19 +365,15 @@ Examples
|
||||
|
||||
>_ path change-extension '' ../banana
|
||||
../banana
|
||||
# but status 1, because there was no extension.
|
||||
|
||||
>_ path change-extension '' ~/.config
|
||||
/home/alfa/.config
|
||||
# status 1
|
||||
|
||||
>_ path change-extension '' ~/.config.d
|
||||
/home/alfa/.config
|
||||
# status 0
|
||||
|
||||
>_ path change-extension '' ~/.config.
|
||||
/home/alfa/.config
|
||||
# status 0
|
||||
|
||||
"sort" subcommand
|
||||
-----------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user