complete -c rgr -s e -l regexp -d 'Used to provide multiple patterns' -r
complete -c rgr -s A -l after-context -d 'How many lines of context should be shown after each match' -r
complete -c rgr -s B -l before-context -d 'How many lines of context should be shown before each match' -r
complete -c rgr -s C -l context -d 'How many lines of context should be shown before and after each match' -r
complete -c rgr -s E -l encoding -d 'Provide the encoding to use when searching files' -r
complete -c rgr -l sort -d 'Sort the results (ascending)' -r
complete -c rgr -l sortr -d 'Sort the results (descending)' -r
complete -c rgr -s j -l threads -d 'How many threads to use' -r
complete -c rgr -s t -l type -d 'Search only a specific type of file' -r
complete -c rgr -s T -l type-not -d 'Inverse of --type' -r
complete -c rgr -s g -l glob -d 'A list of globs to match files' -r
complete -c rgr -l iglob -d 'A list of case insensitive globs to match files' -r
complete -c rgr -l ignore-file -d 'Use the given ignore file when searching' -r -F
complete -c rgr -l crlf -d 'Treat CRLF (\'\\r\\n\') as a line terminator'
complete -c rgr -s L -l follow -d 'Follow symlinks'
complete -c rgr -s i -l ignore-case -d 'Ignore case when searching'
complete -c rgr -s v -l invert-match -d 'Invert the matches on each line'
complete -c rgr -l passthru -d 'Print both matching and non-matching lines'
complete -c rgr -s S -l smart-case -d 'Use smart case matching'
complete -c rgr -s s -l case-sensitive -d 'Use case sensitive matching'
complete -c rgr -l trim -d 'Trim leading/trailing whitespace'
complete -c rgr -s u -l unrestricted -d 'Set the "unrestricted" searching options for ripgrep. Note that this is currently limited to only two occurrences `-uu` since binary searching is not supported in repgrep'
complete -c rgr -s U -l multiline -d 'Allow matches to span multiple lines'
complete -c rgr -l multiline-dotall -d 'Allow the "." character to span across lines with multiline searches'
complete -c rgr -s w -l word-regexp -d 'When matching, use a word boundary search'
complete -c rgr -s . -l hidden -d 'Search hidden files'
complete -c rgr -l ignore-file-case-insensitive -d 'When given an --ignore-file, read its rules case insensitively'
complete -c rgr -l one-file-system -d 'Don\'t traverse filesystems for each path specified'
complete -c rgr -s h -l help -d 'Print help (see more with \'--help\')'
complete -c rgr -s V -l version -d 'Print version'
