Skip to content

Commit

Permalink
Adding Deprecated msg to the 'browse' command
Browse files Browse the repository at this point in the history
  • Loading branch information
shlokc9 committed Jul 29, 2024
1 parent 3768e32 commit e8ad4f8
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cmd/rootCmd.go
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,11 @@ var (

browseLocalPort int
browseCmd = &cobra.Command{
Use: "browse",
Short: "Browse the contents of PVC or VolumeSnapshot",
Long: "Browse the contents of a CSI provisioned PVC or a CSI provisioned VolumeSnapshot.",
Args: cobra.ExactArgs(1),
Use: "browse",
Short: "Browse the contents of PVC or VolumeSnapshot",
Long: "Browse the contents of a CSI provisioned PVC or a CSI provisioned VolumeSnapshot.",
Deprecated: "we recommend you to use command 'browse pvc' instead. Command 'browse pvc' will support newer updates for browsing through the contents of a PVC.",
Args: cobra.ExactArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
return browsePvcCmd.RunE(cmd, args)
},
Expand Down

0 comments on commit e8ad4f8

Please sign in to comment.