Skip to content

Commit

Permalink
Merge pull request #616 from stgraber/cli
Browse files Browse the repository at this point in the history
Fix `incus restart` description
  • Loading branch information
hallyn committed Mar 13, 2024
2 parents a57ead5 + a5aef0b commit 9dec0ab
Show file tree
Hide file tree
Showing 12 changed files with 3,173 additions and 3,238 deletions.
4 changes: 1 addition & 3 deletions cmd/incus/action.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,7 @@ func (c *cmdRestart) Command() *cobra.Command {
cmd.Use = usage("restart", i18n.G("[<remote>:]<instance> [[<remote>:]<instance>...]"))
cmd.Short = i18n.G("Restart instances")
cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G(
`Restart instances
The opposite of "incus pause" is "incus start".`))
`Restart instances`))

cmd.ValidArgsFunction = func(cmd *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective) {
return c.global.cmpInstances(toComplete)
Expand Down
Loading

0 comments on commit 9dec0ab

Please sign in to comment.