diff options
Diffstat (limited to 'Completion/Unix/Command/_locate')
-rw-r--r-- | Completion/Unix/Command/_locate | 114 |
1 files changed, 57 insertions, 57 deletions
diff --git a/Completion/Unix/Command/_locate b/Completion/Unix/Command/_locate index 35dbf062a..0b35b7cdd 100644 --- a/Completion/Unix/Command/_locate +++ b/Completion/Unix/Command/_locate @@ -52,22 +52,22 @@ case $ltype in # -m and --mmap are ignored, so don't bother # -s and --stdio likewise _arguments -s -S : \ - {-b,--basename}'[Match only the basename of files in the database]' \ - {-c,--count}'[Output the number of matching entries]' \ - {-d,--database=}'[Use alternative database]:database:_files' \ - {-e,--existing}'[Restrict display to existing files]' \ - {-L,--follow}'[Follow symbolic links to find existing files (default)]' \ - {-h,--help}'[Show help]' \ - {-i,--ignore-case}'[Ignore case distinctions in patterns]' \ - {-l,-n,--limit=}'[Limit search results]:file limit: ' \ - {-P,-H,--nofollow}'[Don'\''t follow symbolic links]' \ - {-0,--null}'[Output separated by NUL characters]' \ - {-S,--statistics}'[Show database statistics]' \ - {-q,--quiet}'[Don'\''t report errors]' \ - {-r,--regexp=}'[Search for given basic regexp]:basic regexp: ' \ - --regex'[Patterns are extended regexps]' \ - {-V,--version}'[Show version]' \ - {-w,--wholename}'[Match entire file path (default)]' \ + {-b,--basename}'[match only the basename of files in the database]' \ + {-c,--count}'[output the number of matching entries]' \ + {-d,--database=}'[use alternative database]:database:_files' \ + {-e,--existing}'[restrict display to existing files]' \ + {-L,--follow}'[follow symbolic links to find existing files (default)]' \ + {-h,--help}'[show help]' \ + {-i,--ignore-case}'[ignore case distinctions in patterns]' \ + {-l,-n,--limit=}'[limit search results]:file limit: ' \ + {-P,-H,--nofollow}'[don'\''t follow symbolic links]' \ + {-0,--null}'[output separated by NUL characters]' \ + {-S,--statistics}'[show database statistics]' \ + {-q,--quiet}'[don'\''t report errors]' \ + {-r,--regexp=}'[search for given basic regexp]:basic regexp: ' \ + --regex'[patterns are extended regexps]' \ + {-V,--version}'[show version]' \ + {-w,--wholename}'[match entire file path (default)]' \ '*:pattern: ' ;; @@ -76,57 +76,57 @@ case $ltype in # -e can take a comma-separated list of directories. # -f should complete list of file system types like mount _arguments -s -S : \ - -u'[Create slocate database starting at path /]' \ - -U'[Create slocate database starting at given path]:directory:_files -/' \ - -c'[Parse GNU locate updatedb with -u, -U]' \ - -e'[Exclude directories with -u, -U]:directories:_files -/' \ - -f'[Exclude file system types from db with -u, -U]:file system:_file_systems' \ - -l'[Security level]:level:(0 1)' \ - -q'[Quiet mode]' \ - -n'[Limit search results]:file limit: ' \ - -i'[Case insensitive search]' \ - {-r,--regexp=}'[Use basic regular expression]:regexp: ' \ - {-o,--output=}'[Specify database to create]:database:_files' \ - {-d,--database=}'[Specify database to search]:database:_files' \ - {-h,--help}'[Display help]' \ - {-v,--verbose}'[Display files when creating database]' \ - {-V,--version}'[Display version]' \ + -u'[create slocate database starting at path /]' \ + -U'[create slocate database starting at given path]:directory:_files -/' \ + -c'[parse GNU locate updatedb with -u, -U]' \ + -e'[exclude directories with -u, -U]:directories:_files -/' \ + -f'[exclude file system types from db with -u, -U]:file system:_file_systems' \ + -l'[security level]:level:(0 1)' \ + -q'[quiet mode]' \ + -n'[limit search results]:file limit: ' \ + -i'[case insensitive search]' \ + {-r,--regexp=}'[use basic regular expression]:regexp: ' \ + {-o,--output=}'[specify database to create]:database:_files' \ + {-d,--database=}'[specify database to search]:database:_files' \ + {-h,--help}'[display help]' \ + {-v,--verbose}'[display files when creating database]' \ + {-V,--version}'[display version]' \ '*:pattern: ' ;; (gnu) _arguments -s : \ - {-d,--database=}'[Use alternative database]:database:_files' \ - {-e,--existing}'[Restrict display to existing files]' \ - {-E,--non-existing}'[Allow display of nonexistent files (default)]' \ - {-i,--ignore-case}'[Ignore case distinctions in patterns]' \ - {-w,--wholename}'[Match entire file path (default)]' \ - {-b,--basename}'[Match only the basename of files in the database]' \ - {-l,-n,--limit=}'[Limit search results]:file limit: ' \ - {-S,--statistics}'[Show database statistics]' \ - {-0,--null}'[Output separated by NUL characters]' \ - {-c,--count}'[Output the number of matching entries]' \ - {-P,-H,--nofollow}'[Don'\''t follow symbolic links]' \ - {-L,--follow}'[Follow symbolic links to find existing files (default)]' \ - {-A,-all}'[Match all arguments instead of at least one]' \ - {-p,--print}'[Include search results with statistics or count]' \ - {-r,--regex=}'[Patterns are regular expressions]:basic regexp: ' \ - --regextype='[Select type of regular expression]' \ - {-V,--version}'[Show version]' \ - --help'[Show help]' \ + {-d,--database=}'[use alternative database]:database:_files' \ + {-e,--existing}'[restrict display to existing files]' \ + {-E,--non-existing}'[allow display of nonexistent files (default)]' \ + {-i,--ignore-case}'[ignore case distinctions in patterns]' \ + {-w,--wholename}'[match entire file path (default)]' \ + {-b,--basename}'[match only the basename of files in the database]' \ + {-l,-n,--limit=}'[limit search results]:file limit: ' \ + {-S,--statistics}'[show database statistics]' \ + {-0,--null}'[output separated by NUL characters]' \ + {-c,--count}'[output the number of matching entries]' \ + {-P,-H,--nofollow}'[don'\''t follow symbolic links]' \ + {-L,--follow}'[follow symbolic links to find existing files (default)]' \ + {-A,-all}'[match all arguments instead of at least one]' \ + {-p,--print}'[include search results with statistics or count]' \ + {-r,--regex=}'[patterns are regular expressions]:basic regexp: ' \ + --regextype='[select type of regular expression]' \ + {-V,--version}'[show version]' \ + --help'[show help]' \ '*:pattern: ' ;; (bsd) _arguments -s -S -A '-*' \ - '(-S)-0[Separate file names by NUL characters]' \ - '(- *)-S[Show database statistics and exit]' \ - '(-S)-c[Output the number of matching file names]' \ - '(-S)*-d[Specify database to search]:database:_files' \ - '(-S)-i[Ignore case distinctions in pattern and database]' \ - '(-S)-l[Limit output to specified number of file names]:file limit: ' \ - '(-S)-m[Use mmap(2) instead of stdio(3) (default)]' \ - '(-S)-s[Use stdio(3) instead of mmap(2)]' \ + '(-S)-0[separate file names by NUL characters]' \ + '(- *)-S[show database statistics and exit]' \ + '(-S)-c[output the number of matching file names]' \ + '(-S)*-d[specify database to search]:database:_files' \ + '(-S)-i[ignore case distinctions in pattern and database]' \ + '(-S)-l[limit output to specified number of file names]:file limit: ' \ + '(-S)-m[use mmap(2) instead of stdio(3) (default)]' \ + '(-S)-s[use stdio(3) instead of mmap(2)]' \ '*:pattern: ' ;; esac |