diff --git a/cmd/languages.go b/cmd/languages.go index 9f87615272..4af0292657 100644 --- a/cmd/languages.go +++ b/cmd/languages.go @@ -14,7 +14,7 @@ import ( func NewLanguagesCmd(newClient ClientFactory) *cobra.Command { cmd := &cobra.Command{ Use: "languages", - Short: "Languages", + Short: "List available function language runtimes", Long: ` NAME {{.Name}} languages - list available language runtimes. @@ -33,7 +33,7 @@ DESCRIPTION To specify a URI of a single, specific repository for which languages should be displayed, use the --repository flag. - + To see templates available for a given language, see the 'templates' command. diff --git a/cmd/root.go b/cmd/root.go index 6984b2380c..296785c314 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -98,6 +98,7 @@ EXAMPLES cmd.AddCommand(NewRunCmd(newClient)) cmd.AddCommand(NewCompletionCmd()) cmd.AddCommand(NewVersionCmd(config.Version)) + cmd.AddCommand(NewLanguagesCmd(newClient)) // Help // Overridden to process the help text as a template and have