Skip to content

Commit

Permalink
Merge pull request #2142 from jqnatividad/sample-max-size-completion
Browse files Browse the repository at this point in the history
  • Loading branch information
jqnatividad authored Sep 14, 2024
2 parents e845a3c + 053171e commit bc899de
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completions/examples/qsv.bash
Original file line number Diff line number Diff line change
Expand Up @@ -3462,7 +3462,7 @@ _qsv() {
return 0
;;
qsv__sample)
opts="-h --seed --rng --user-agent --timeout --output --no-headers --delimiter --help"
opts="-h --seed --rng --user-agent --timeout --max-size --output --no-headers --delimiter --help"
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
return 0
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.elv
Original file line number Diff line number Diff line change
Expand Up @@ -1162,6 +1162,7 @@ set edit:completion:arg-completer[qsv] = {|@words|
cand --rng 'rng'
cand --user-agent 'user-agent'
cand --timeout 'timeout'
cand --max-size 'max-size'
cand --output 'output'
cand --no-headers 'no-headers'
cand --delimiter 'delimiter'
Expand Down
3 changes: 3 additions & 0 deletions contrib/completions/examples/qsv.fig.js
Original file line number Diff line number Diff line change
Expand Up @@ -2783,6 +2783,9 @@ const completion: Fig.Spec = {
{
name: "--timeout",
},
{
name: "--max-size",
},
{
name: "--output",
},
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.fish
Original file line number Diff line number Diff line change
Expand Up @@ -897,6 +897,7 @@ complete -c qsv -n "__fish_qsv_using_subcommand sample" -l seed
complete -c qsv -n "__fish_qsv_using_subcommand sample" -l rng
complete -c qsv -n "__fish_qsv_using_subcommand sample" -l user-agent
complete -c qsv -n "__fish_qsv_using_subcommand sample" -l timeout
complete -c qsv -n "__fish_qsv_using_subcommand sample" -l max-size
complete -c qsv -n "__fish_qsv_using_subcommand sample" -l output
complete -c qsv -n "__fish_qsv_using_subcommand sample" -l no-headers
complete -c qsv -n "__fish_qsv_using_subcommand sample" -l delimiter
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.nu
Original file line number Diff line number Diff line change
Expand Up @@ -1072,6 +1072,7 @@ module completions {
--rng
--user-agent
--timeout
--max-size
--output
--no-headers
--delimiter
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -1267,6 +1267,7 @@ Register-ArgumentCompleter -Native -CommandName 'qsv' -ScriptBlock {
[CompletionResult]::new('--rng', 'rng', [CompletionResultType]::ParameterName, 'rng')
[CompletionResult]::new('--user-agent', 'user-agent', [CompletionResultType]::ParameterName, 'user-agent')
[CompletionResult]::new('--timeout', 'timeout', [CompletionResultType]::ParameterName, 'timeout')
[CompletionResult]::new('--max-size', 'max-size', [CompletionResultType]::ParameterName, 'max-size')
[CompletionResult]::new('--output', 'output', [CompletionResultType]::ParameterName, 'output')
[CompletionResult]::new('--no-headers', 'no-headers', [CompletionResultType]::ParameterName, 'no-headers')
[CompletionResult]::new('--delimiter', 'delimiter', [CompletionResultType]::ParameterName, 'delimiter')
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/examples/qsv.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -1394,6 +1394,7 @@ _arguments "${_arguments_options[@]}" : \
'--rng[]' \
'--user-agent[]' \
'--timeout[]' \
'--max-size[]' \
'--output[]' \
'--no-headers[]' \
'--delimiter[]' \
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/src/cmd/sample.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ pub fn sample_cmd() -> Command {
arg!(--rng),
arg!(--"user-agent"),
arg!(--timeout),
arg!(--"max-size"),
arg!(--output),
arg!(--"no-headers"),
arg!(--delimiter),
Expand Down

0 comments on commit bc899de

Please sign in to comment.