mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-06-12 01:14:22 +00:00
modify the doc to simple string, will update the doc later
This commit is contained in:
@@ -6,7 +6,6 @@ package commands
|
|||||||
import (
|
import (
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"sigs.k8s.io/kustomize/cmd/config/ext"
|
"sigs.k8s.io/kustomize/cmd/config/ext"
|
||||||
"sigs.k8s.io/kustomize/cmd/config/internal/generateddocs/commands"
|
|
||||||
"sigs.k8s.io/kustomize/kyaml/openapi"
|
"sigs.k8s.io/kustomize/kyaml/openapi"
|
||||||
"sigs.k8s.io/kustomize/kyaml/setters2/settersutil"
|
"sigs.k8s.io/kustomize/kyaml/setters2/settersutil"
|
||||||
)
|
)
|
||||||
@@ -17,9 +16,9 @@ func NewDeleteSetterRunner(parent string) *DeleteSetterRunner {
|
|||||||
c := &cobra.Command{
|
c := &cobra.Command{
|
||||||
Use: "delete-setter DIR NAME",
|
Use: "delete-setter DIR NAME",
|
||||||
Args: cobra.MinimumNArgs(2),
|
Args: cobra.MinimumNArgs(2),
|
||||||
Short: commands.SetShort,
|
Short: "delete values on Resources fields.",
|
||||||
Long: commands.SetLong,
|
Long: "",
|
||||||
Example: commands.SetExamples,
|
Example: "",
|
||||||
PreRunE: r.preRunE,
|
PreRunE: r.preRunE,
|
||||||
RunE: r.runE,
|
RunE: r.runE,
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user