From 754e81afa3b7201a247f6b8f2e319938ccdf9e46 Mon Sep 17 00:00:00 2001 From: Asuka Minato Date: Fri, 27 Oct 2023 08:44:13 +0900 Subject: [PATCH] Update find.fish add -D and -nowarn --- share/completions/find.fish | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/share/completions/find.fish b/share/completions/find.fish index 77bdbabaa..572911628 100644 --- a/share/completions/find.fish +++ b/share/completions/find.fish @@ -22,7 +22,11 @@ complete -c find -o regextype -d "Specify regular expression type" -a "emacs pos complete -c find -o version -l version -d "Display version and exit" complete -c find -o warn -d "Turn warnings on" complete -c find -o nowarn -d "Turn warnings off" - +complete -c find -o O0 -d "Equivalent to optimisation level 1." +complete -c find -o O1 -d "Default optimisation level and corresponds to the traditional behaviour." +complete -c find -o O2 -d "Any -type or -xtype tests are performed after any tests based only on the names of files." +complete -c find -o O3 -d "The full cost-based query optimiser is enabled." +complete -c find -s D -d "Print diagnostic information." -x -a "exec opt rates search stat time tree all help" # Tests