Skip to content

Commit e37a183

Browse files
committed
fix: update kube play command cobra use
Signed-off-by: axel7083 <[email protected]>
1 parent ee57ddd commit e37a183

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

cmd/podman/kube/down.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ var (
1818
Removes pods that have been based on the Kubernetes kind described in the YAML.`
1919

2020
downCmd = &cobra.Command{
21-
Use: "down [options] KUBEFILE|-",
21+
Use: "down [options] [KUBEFILE [KUBEFILE...]]|-",
2222
Short: "Remove pods based on Kubernetes YAML",
2323
Long: downDescription,
2424
RunE: down,

cmd/podman/kube/play.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ var (
5151
Creates pods or volumes based on the Kubernetes kind described in the YAML. Supported kinds are Pods, Deployments, DaemonSets, Jobs, and PersistentVolumeClaims.`
5252

5353
playCmd = &cobra.Command{
54-
Use: "play [options] KUBEFILE|-",
54+
Use: "play [options] [KUBEFILE [KUBEFILE...]]|-",
5555
Short: "Play a pod or volume based on Kubernetes YAML",
5656
Long: playDescription,
5757
RunE: play,
@@ -66,7 +66,7 @@ var (
6666

6767
var (
6868
playKubeCmd = &cobra.Command{
69-
Use: "kube [options] KUBEFILE|-",
69+
Use: "kube [options] [KUBEFILE [KUBEFILE...]]|-",
7070
Short: "Play a pod or volume based on Kubernetes YAML",
7171
Long: playDescription,
7272
Hidden: true,

0 commit comments

Comments
 (0)