From 8e0d192f50f79f720bb24eb122f44043344b161b Mon Sep 17 00:00:00 2001 From: Aaron Gyes Date: Mon, 31 Jan 2022 23:38:19 -0800 Subject: [PATCH] mdfind: Update with shorter descriptions --- share/completions/mdfind.fish | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/share/completions/mdfind.fish b/share/completions/mdfind.fish index b5598621f..9b9f86794 100644 --- a/share/completions/mdfind.fish +++ b/share/completions/mdfind.fish @@ -1,12 +1,13 @@ # completion for mdfind (macOS) -complete -c mdfind -o attr -x -d 'Fetches the value of the specified attribute' -complete -c mdfind -o count -f -d 'Query only reports matching items count' -complete -c mdfind -o onlyin -x -a '(__fish_complete_directories (commandline -ct))' -d 'Search only within given directory' -complete -c mdfind -o live -f -d 'Query should stay active' -complete -c mdfind -o name -x -d 'Search on file name only' -complete -c mdfind -o reprint -f -d 'Reprint results on live update' -complete -c mdfind -s s -x -d 'Show contents of smart folder' -complete -c mdfind -s 0 -f -d 'Use NUL (\0) as a path separator, for use with xargs -0' -complete -c mdfind -o literal -f -d 'Force the provided query string to be taken as a literal' -complete -c mdfind -o interpret -f -d 'Interprete query string as Spotlight query' +complete mdfind -d "find files matching given query" +complete mdfind -o attr -x -d 'Show given attribute' +complete mdfind -o count -f -d 'Print number of matches' +complete mdfind -o onlyin -x -a '(__fish_complete_directories (commandline -ct))' -d 'Search within directory' +complete mdfind -o live -f -d 'Query should stay active' +complete mdfind -o name -x -d 'Search on file name only' +complete mdfind -o reprint -f -d 'Reprint -live results' +complete mdfind -s s -x -d 'List a smart folder' +complete mdfind -s 0 -f -d 'NUL path separators' +complete mdfind -o literal -f -d 'Literal metadata query' +complete mdfind -o interpret -f -d 'Spotlight-like search'