mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 18:21:16 -03:00
complete: Print better error for -x -F
-x is a cheesy shortcut for `-rf`, so it conflicts with `-F`. Fixes #8818.
This commit is contained in:
@@ -463,3 +463,6 @@ complete -C"a=1 b=2 cmd_with_fancy_completion "
|
||||
# CHECK: 1
|
||||
complete -C"a=1 b=2 cmd_with_fancy_completion 1 "
|
||||
# CHECK: 2
|
||||
|
||||
complete -c thing -x -F
|
||||
# CHECKERR: complete: invalid option combination, '--exclusive' and '--force-files'
|
||||
|
||||
Reference in New Issue
Block a user