mirror of
https://github.com/kubernetes-sigs/kustomize.git
synced 2026-07-17 09:49:13 +00:00
Fix help message to align other cmd
This commit is contained in:
@@ -19,6 +19,7 @@ package remove
|
|||||||
import (
|
import (
|
||||||
"errors"
|
"errors"
|
||||||
"path/filepath"
|
"path/filepath"
|
||||||
|
"sigs.k8s.io/kustomize/v3/pkg/pgmconfig"
|
||||||
|
|
||||||
"github.com/spf13/cobra"
|
"github.com/spf13/cobra"
|
||||||
"sigs.k8s.io/kustomize/v3/pkg/commands/kustfile"
|
"sigs.k8s.io/kustomize/v3/pkg/commands/kustfile"
|
||||||
@@ -35,7 +36,7 @@ func newCmdRemoveResource(fsys fs.FileSystem) *cobra.Command {
|
|||||||
|
|
||||||
cmd := &cobra.Command{
|
cmd := &cobra.Command{
|
||||||
Use: "resource",
|
Use: "resource",
|
||||||
Short: "Remove resource file paths to the kustomization file.",
|
Short: "Removes one or more resource file paths from " + pgmconfig.KustomizationFileNames[0],
|
||||||
Example: `
|
Example: `
|
||||||
remove resource my-resource.yml
|
remove resource my-resource.yml
|
||||||
remove resource resource1.yml resource2.yml resource3.yml
|
remove resource resource1.yml resource2.yml resource3.yml
|
||||||
|
|||||||
Reference in New Issue
Block a user