diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2021-08-04 14:59:44 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2021-08-09 13:05:49 -0400 |
commit | 170fb257295027aeb6410b86e06c38086299d2e3 (patch) | |
tree | 4f21e0320895a90cdb78df27beb97dcf16bfcb53 /cmd/podman/shell_completion_test.go | |
parent | 04ab2b16617fe2d3178eb0b461aacbcab609611e (diff) | |
download | podman-170fb257295027aeb6410b86e06c38086299d2e3.tar.gz podman-170fb257295027aeb6410b86e06c38086299d2e3.tar.bz2 podman-170fb257295027aeb6410b86e06c38086299d2e3.zip |
Alias build to buildx, so it won't fail
Add hidden --load and --progress flag as well.
Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/shell_completion_test.go')
-rw-r--r-- | cmd/podman/shell_completion_test.go | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd/podman/shell_completion_test.go b/cmd/podman/shell_completion_test.go index 9bd821d8d..792beeb19 100644 --- a/cmd/podman/shell_completion_test.go +++ b/cmd/podman/shell_completion_test.go @@ -33,7 +33,9 @@ func TestShellCompletionFunctions(t *testing.T) { func checkCommand(t *testing.T, cmd *cobra.Command) { if cmd.HasSubCommands() { for _, childCmd := range cmd.Commands() { - checkCommand(t, childCmd) + if !childCmd.Hidden { + checkCommand(t, childCmd) + } } // if not check if completion for that command is provided |