Skip to content

Commit

Permalink
chore(cli): update the long desc of upload cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
zhijie-yang committed Jul 15, 2024
1 parent db12a9a commit b819f16
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/cli-client/internals/cli/cli_upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,10 @@ type CmdUpload struct {
var riskOptions = []string{"stable", "candidate", "beta", "edge"}

func init() {
parser.Command.AddCommand("upload", "Trigger the build and release for the image in the current working directory",
"long description", &CmdUpload{})
parser.Command.AddCommand("upload", "Trigger the build and release for a rock",
`Trigger the build of a rock with the rockcraft.yaml in the current working
directory and the release with --release`,
&CmdUpload{})
}

func (c *CmdUpload) Execute(args []string) error {
Expand Down

0 comments on commit b819f16

Please sign in to comment.