Skip to content

Commit 0e3434d

Browse files
committed
update completion text
1 parent b123274 commit 0e3434d

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

cmd/dbc/completions/dbc.bash

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ _dbc_install_completions() {
6969
esac
7070

7171
if [[ "$cur" == -* ]]; then
72-
COMPREPLY=($(compgen -W "--json --no-verify --pre --level -l" -- "$cur"))
72+
COMPREPLY=($(compgen -W "--json --no-verify --level -l --pre" -- "$cur"))
7373
return 0
7474
fi
7575

cmd/dbc/completions/dbc.fish

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ complete -f -c dbc -n '__fish_dbc_using_subcommand install' -s h -d 'Show Help'
4545
complete -f -c dbc -n '__fish_dbc_using_subcommand install' -l help -d 'Show Help'
4646
complete -f -c dbc -n '__fish_dbc_using_subcommand install' -l json -d 'Print output as JSON instead of plaintext'
4747
complete -f -c dbc -n '__fish_dbc_using_subcommand install' -l no-verify -d 'Do not verify the driver after installation'
48-
complete -f -c dbc -n '__fish_dbc_using_subcommand install' -l pre -d 'Include pre-release versions (hidden by default)'
48+
complete -f -c dbc -n '__fish_dbc_using_subcommand install' -l pre -d 'Allow implicit installation of pre-release versions'
4949
complete -f -c dbc -n '__fish_dbc_using_subcommand install' -l level -s l -d 'Installation level' -xa 'user system'
5050

5151
# uninstall subcommand
@@ -60,7 +60,7 @@ complete -c dbc -n '__fish_dbc_using_subcommand init' -F -a '*.toml' -d 'File to
6060
# add subcommand
6161
complete -f -c dbc -n '__fish_dbc_using_subcommand add' -s h -d 'Help'
6262
complete -f -c dbc -n '__fish_dbc_using_subcommand add' -l help -d 'Help'
63-
complete -f -c dbc -n '__fish_dbc_using_subcommand add' -l pre -d 'Include pre-release versions (sets prerelease=allow)'
63+
complete -f -c dbc -n '__fish_dbc_using_subcommand add' -l pre -d 'Allow pre-release versions implicitly'
6464
complete -c dbc -n '__fish_dbc_using_subcommand add' -l path -s p -r -F -a '*.toml' -d 'Driver list to add to'
6565

6666
# sync subcommand

cmd/dbc/completions/dbc.zsh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ function _dbc_install_completions {
7676
'(-h)--help[Help]' \
7777
'--no-verify[do not verify the driver after installation]' \
7878
'--json[Print output as JSON instead of plaintext]' \
79-
'--pre[Include pre-release versions (hidden by default)]' \
79+
'--pre[Allow implicit installation of pre-release versions]' \
8080
'(-l)--level[installation level]: :(user system)' \
8181
'(--level)-l[installation level]: :(user system)' \
8282
':driver name: '
@@ -101,7 +101,7 @@ function _dbc_add_completions {
101101
_arguments \
102102
'(--help)-h[Help]' \
103103
'(-h)--help[Help]' \
104-
'--pre[Include pre-release versions (sets prerelease='\''allow'\'')]' \
104+
'--pre[Allow pre-release versions implicitly]' \
105105
'(-p)--path[driver list to add to]: :_files -g \*.toml' \
106106
'(--path)-p[driver list to add to]: :_files -g \*.toml' \
107107
':driver name: '

0 commit comments

Comments
 (0)