Skip to content

Commit

Permalink
Merge pull request #2337 from dathere/new-completion
Browse files Browse the repository at this point in the history
`contrib(completions)`: add `--quiet` to `tojsonl`
  • Loading branch information
jqnatividad authored Dec 6, 2024
2 parents 2ddd3b1 + b631d8d commit 214a394
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 @@ -3986,7 +3986,7 @@ _qsv() {
return 0
;;
qsv__tojsonl)
opts="-h --trim --no-boolean --jobs --batch --delimiter --output --memcheck --help"
opts="-h --trim --no-boolean --jobs --batch --delimiter --output --memcheck --quiet --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 @@ -1584,6 +1584,7 @@ set edit:completion:arg-completer[qsv] = {|@words|
cand --delimiter 'delimiter'
cand --output 'output'
cand --memcheck 'memcheck'
cand --quiet 'quiet'
cand -h 'Print help'
cand --help 'Print help'
}
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 @@ -3890,6 +3890,9 @@ const completion: Fig.Spec = {
{
name: "--memcheck",
},
{
name: "--quiet",
},
{
name: ["-h", "--help"],
description: "Print help",
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 @@ -1223,6 +1223,7 @@ complete -c qsv -n "__fish_qsv_using_subcommand tojsonl" -l batch
complete -c qsv -n "__fish_qsv_using_subcommand tojsonl" -l delimiter
complete -c qsv -n "__fish_qsv_using_subcommand tojsonl" -l output
complete -c qsv -n "__fish_qsv_using_subcommand tojsonl" -l memcheck
complete -c qsv -n "__fish_qsv_using_subcommand tojsonl" -l quiet
complete -c qsv -n "__fish_qsv_using_subcommand tojsonl" -s h -l help -d 'Print help'
complete -c qsv -n "__fish_qsv_using_subcommand transpose" -l multipass
complete -c qsv -n "__fish_qsv_using_subcommand transpose" -l output
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 @@ -1489,6 +1489,7 @@ module completions {
--delimiter
--output
--memcheck
--quiet
--help(-h) # Print help
]

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 @@ -1725,6 +1725,7 @@ Register-ArgumentCompleter -Native -CommandName 'qsv' -ScriptBlock {
[CompletionResult]::new('--delimiter', '--delimiter', [CompletionResultType]::ParameterName, 'delimiter')
[CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'output')
[CompletionResult]::new('--memcheck', '--memcheck', [CompletionResultType]::ParameterName, 'memcheck')
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'quiet')
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
break
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 @@ -1915,6 +1915,7 @@ _arguments "${_arguments_options[@]}" : \
'--delimiter[]' \
'--output[]' \
'--memcheck[]' \
'--quiet[]' \
'-h[Print help]' \
'--help[Print help]' \
&& ret=0
Expand Down
1 change: 1 addition & 0 deletions contrib/completions/src/cmd/tojsonl.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ pub fn tojsonl_cmd() -> Command {
arg!(--delimiter),
arg!(--output),
arg!(--memcheck),
arg!(--quiet),
])
}

0 comments on commit 214a394

Please sign in to comment.