Skip to content

Commit

Permalink
Merge pull request #1231 from stgraber/main
Browse files Browse the repository at this point in the history
  • Loading branch information
tych0 authored Sep 21, 2024
2 parents bc05cd3 + 00aba5d commit de68872
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmd/incus/console.go
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,10 @@ as well as retrieve past log entries from it.`))
cmd.Flags().BoolVar(&c.flagShowLog, "show-log", false, i18n.G("Retrieve the instance's console log"))
cmd.Flags().StringVarP(&c.flagType, "type", "t", "console", i18n.G("Type of connection to establish: 'console' for serial console, 'vga' for SPICE graphical output")+"``")

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

return cmd
}

Expand Down

0 comments on commit de68872

Please sign in to comment.