Skip to content

Commit

Permalink
Add missing CLI upgrade command documentation (noobaa#1288)
Browse files Browse the repository at this point in the history
Signed-off-by: Ben <[email protected]>
  • Loading branch information
Neon-White authored Jan 23, 2024
1 parent 7746086 commit 8baf0f0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pkg/install/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,10 @@ func RunYaml(cmd *cobra.Command, args []string) {
// CmdUpgrade returns a CLI command
func CmdUpgrade() *cobra.Command {
cmd := &cobra.Command{
Use: "upgrade",
Use: "upgrade --noobaa-image <noobaa-image-path-and-tag> --operator-image <operator-image-path-and-tag>",
Short: "Upgrade the system, its components and CRDS",
Long: "The command should be used in conjunction with the global flags --noobaa-image and " +
"--operator-image to upgrade the system and its components to the desired versions.",
Run: RunUpgrade,
Args: cobra.NoArgs,
}
Expand Down

0 comments on commit 8baf0f0

Please sign in to comment.