mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-22 08:41:13 +08:00
completions/diff: allow file completion for --unified (#10796)
* completions/diff: allow file completion for --unified * Update diff.fish * Update diff.fish
This commit is contained in:
parent
b625c566b1
commit
6082c3f77a
|
@ -12,8 +12,8 @@ complete -c diff -s r -l recursive -d "Recursively compare subdirectories"
|
|||
complete -c diff -s N -l new-file -d "Treat absent files as empty"
|
||||
complete -c diff -s C -l context -x -d "Output NUM lines of copied context"
|
||||
complete -c diff -s c -d "Output 3 lines of copied context"
|
||||
complete -c diff -s U -l unified -x -d "Output NUM lines of unified context"
|
||||
complete -c diff -s u -d "Output 3 lines of unified context"
|
||||
complete -c diff -s U -x -d "Output NUM lines of unified context"
|
||||
complete -c diff -s u -l unified -d "Output NUM lines of unified context (default 3)"
|
||||
complete -c diff -s q -l brief -d "Output only whether the files differ"
|
||||
complete -c diff -l normal -d "Output a normal diff"
|
||||
complete -c diff -s y -l side-by-side -d "Output in two columns"
|
||||
|
|
Loading…
Reference in New Issue
Block a user