1
2complete -c locate -s A -l all -d 'Match all non-option arguments'
3complete -c locate -s b -l basename -d 'Match against the base name of the file'
4complete -c locate -s c -l count -d 'Print only the number of matches found'
5complete -c locate -s d -l database -r -d 'Use different DATABASE file[s]'
6complete -c locate -s e -l existing -d 'Match only existing files'
7complete -c locate -s L -l follow -d 'Consider broken symbolic links to be non-existing files'
8complete -c locate -s P -l nofollow -d 'Treat broken symbolic links as if they were existing'
9complete -c locate -s H -l nofollow -d 'Treat broken symbolic links as if they were existing'
10complete -c locate -s i -l ignore-case -d 'Ignore case distinctions'
11complete -c locate -s l -l limit -r -d 'Limit  the number of matches'
12complete -c locate -s 0 -l null -d 'Use ASCII NUL as a separator'
13complete -c locate -s S -l statistics -d 'Print statistics about databases and exit'
14complete -c locate -s w -l wholename -d 'Match against the whole name of the file'
15complete -c locate -s r -l regex -d 'The pattern is a regular expression'
16complete -c locate -s h -l help -d 'Print a summary of the options and exit'
17complete -c locate -s V -l version -d 'Print the version number and exit'
18