diff options
author | Martin Nordholts <enselic@gmail.com> | 2022-02-26 17:54:09 +0100 |
---|---|---|
committer | Martin Nordholts <enselic@gmail.com> | 2022-02-27 07:39:22 +0100 |
commit | 3c057aa5901cecc4c44a86d226f27e166dea4713 (patch) | |
tree | 3132dd051416113489e78327a277f1baca134223 /assets/completions | |
parent | 8e8c35039135451eb57e195205f3f48d493dfbb3 (diff) |
Add header-filename and header-filesize where missing
Diffstat (limited to 'assets/completions')
-rw-r--r-- | assets/completions/_bat.ps1.in | 2 | ||||
-rw-r--r-- | assets/completions/bat.fish.in | 2 | ||||
-rw-r--r-- | assets/completions/bat.zsh.in | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/assets/completions/_bat.ps1.in b/assets/completions/_bat.ps1.in index 813ad0bc..0a706752 100644 --- a/assets/completions/_bat.ps1.in +++ b/assets/completions/_bat.ps1.in @@ -37,7 +37,7 @@ Register-ArgumentCompleter -Native -CommandName '{{PROJECT_EXECUTABLE}}' -Script [CompletionResult]::new('-m', 'm', [CompletionResultType]::ParameterName, 'Use the specified syntax for files matching the glob pattern (''*.cpp:C++'').') [CompletionResult]::new('--map-syntax', 'map-syntax', [CompletionResultType]::ParameterName, 'Use the specified syntax for files matching the glob pattern (''*.cpp:C++'').') [CompletionResult]::new('--theme', 'theme', [CompletionResultType]::ParameterName, 'Set the color theme for syntax highlighting.') - [CompletionResult]::new('--style', 'style', [CompletionResultType]::ParameterName, 'Comma-separated list of style elements to display (*auto*, full, plain, changes, header, grid, rule, numbers, snip).') + [CompletionResult]::new('--style', 'style', [CompletionResultType]::ParameterName, 'Comma-separated list of style elements to display (*auto*, full, plain, changes, header, header-filename, header-filesize, grid, rule, numbers, snip).') [CompletionResult]::new('-r', 'r', [CompletionResultType]::ParameterName, 'Only print the lines from N to M.') [CompletionResult]::new('--line-range', 'line-range', [CompletionResultType]::ParameterName, 'Only print the lines from N to M.') [CompletionResult]::new('-A', 'A', [CompletionResultType]::ParameterName, 'Show non-printable characters (space, tab, newline, ..).') diff --git a/assets/completions/bat.fish.in b/assets/completions/bat.fish.in index 3c002a3f..4b118aa7 100644 --- a/assets/completions/bat.fish.in +++ b/assets/completions/bat.fish.in @@ -56,7 +56,7 @@ complete -c {{PROJECT_EXECUTABLE}} -s P -d "Disable paging. Alias for '--paging= complete -c {{PROJECT_EXECUTABLE}} -s A -l show-all -d "Show non-printable characters like space/tab/newline" -n "not __fish_seen_subcommand_from cache" -complete -c {{PROJECT_EXECUTABLE}} -l style -xka "auto full plain changes header grid rule numbers snip" -d "Comma-separated list of style elements or presets to display with file contents" -n "not __fish_seen_subcommand_from cache" +complete -c {{PROJECT_EXECUTABLE}} -l style -xka "auto full plain changes header header-filename header-filesize grid rule numbers snip" -d "Comma-separated list of style elements or presets to display with file contents" -n "not __fish_seen_subcommand_from cache" complete -c {{PROJECT_EXECUTABLE}} -l tabs -x -d "<T> Set the tab width to T spaces (width of 0 passes tabs through directly)" -n "not __fish_seen_subcommand_from cache" diff --git a/assets/completions/bat.zsh.in b/assets/completions/bat.zsh.in index 12ae8b8e..fa9a0fce 100644 --- a/assets/completions/bat.zsh.in +++ b/assets/completions/bat.zsh.in @@ -75,7 +75,7 @@ _{{PROJECT_EXECUTABLE}}_main() { ;; style) - _values -s , 'style' auto full plain changes header grid rule numbers snip + _values -s , 'style' auto full plain changes header header-filename header-filesize grid rule numbers snip ;; esac } |