mirror of
https://github.com/containers/podman.git
synced 2025-10-11 16:26:00 +08:00
build(deps): bump github.com/spf13/cobra from 1.5.0 to 1.6.0
Bumps [github.com/spf13/cobra](https://github.com/spf13/cobra) from 1.5.0 to 1.6.0. - [Release notes](https://github.com/spf13/cobra/releases) - [Commits](https://github.com/spf13/cobra/compare/v1.5.0...v1.6.0) --- updated-dependencies: - dependency-name: github.com/spf13/cobra dependency-type: direct:production update-type: version-update:semver-minor ... PH: manually update the completion scripts and fix deprecated function call. Signed-off-by: dependabot[bot] <support@github.com> Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
![49699333+dependabot[bot]@users.noreply.github.com](/assets/img/avatar_default.png)
committed by
Paul Holzinger

parent
1db0735068
commit
b256f5f587
@ -128,7 +128,7 @@ __podman_process_completion_results() {
|
||||
__podman_handle_special_char "$cur" =
|
||||
|
||||
# Print the activeHelp statements before we finish
|
||||
if [ ${#activeHelp} -ne 0 ]; then
|
||||
if [ ${#activeHelp[*]} -ne 0 ]; then
|
||||
printf "\n";
|
||||
printf "%s\n" "${activeHelp[@]}"
|
||||
printf "\n"
|
||||
|
@ -128,7 +128,7 @@ __podman-remote_process_completion_results() {
|
||||
__podman-remote_handle_special_char "$cur" =
|
||||
|
||||
# Print the activeHelp statements before we finish
|
||||
if [ ${#activeHelp} -ne 0 ]; then
|
||||
if [ ${#activeHelp[*]} -ne 0 ]; then
|
||||
printf "\n";
|
||||
printf "%s\n" "${activeHelp[@]}"
|
||||
printf "\n"
|
||||
|
@ -10,7 +10,7 @@ filter __podman-remote_escapeStringWithSpecialChars {
|
||||
$_ -replace '\s|#|@|\$|;|,|''|\{|\}|\(|\)|"|`|\||<|>|&','`$&'
|
||||
}
|
||||
|
||||
Register-ArgumentCompleter -CommandName 'podman-remote' -ScriptBlock {
|
||||
[scriptblock]$__podman_remoteCompleterBlock = {
|
||||
param(
|
||||
$WordToComplete,
|
||||
$CommandAst,
|
||||
@ -227,4 +227,6 @@ Register-ArgumentCompleter -CommandName 'podman-remote' -ScriptBlock {
|
||||
}
|
||||
}
|
||||
|
||||
Register-ArgumentCompleter -CommandName 'podman-remote' -ScriptBlock $__podman_remoteCompleterBlock
|
||||
|
||||
# This file is generated with "podman-remote completion"; see: podman-completion(1)
|
||||
|
@ -10,7 +10,7 @@ filter __podman_escapeStringWithSpecialChars {
|
||||
$_ -replace '\s|#|@|\$|;|,|''|\{|\}|\(|\)|"|`|\||<|>|&','`$&'
|
||||
}
|
||||
|
||||
Register-ArgumentCompleter -CommandName 'podman' -ScriptBlock {
|
||||
[scriptblock]$__podmanCompleterBlock = {
|
||||
param(
|
||||
$WordToComplete,
|
||||
$CommandAst,
|
||||
@ -227,4 +227,6 @@ Register-ArgumentCompleter -CommandName 'podman' -ScriptBlock {
|
||||
}
|
||||
}
|
||||
|
||||
Register-ArgumentCompleter -CommandName 'podman' -ScriptBlock $__podmanCompleterBlock
|
||||
|
||||
# This file is generated with "podman completion"; see: podman-completion(1)
|
||||
|
Reference in New Issue
Block a user