From d0a181bd24457e502db9ddea100bf4cb3525f068 Mon Sep 17 00:00:00 2001 From: Ying Chun Guo Date: Wed, 31 Aug 2022 19:19:16 +0800 Subject: [PATCH] use correct sample repository name in command usage (#1207) --- cmd/languages.go | 2 +- cmd/templates.go | 2 +- docs/reference/func_languages.md | 2 +- docs/reference/func_templates.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/languages.go b/cmd/languages.go index f55c3da77..23cf6e158 100644 --- a/cmd/languages.go +++ b/cmd/languages.go @@ -46,7 +46,7 @@ EXAMPLES $ {{.Name}} languages --json o Return language runtimes in a specific repository - $ {{.Name}} languages --repository=https://github.com/boson-project/func-templates + $ {{.Name}} languages --repository=https://github.com/boson-project/templates `, SuggestFor: []string{"language", "runtime", "runtimes", "lnaguages", "languagse", "panguages", "manguages", "kanguages", "lsnguages", "lznguages"}, diff --git a/cmd/templates.go b/cmd/templates.go index cca8ae493..d7b1174da 100644 --- a/cmd/templates.go +++ b/cmd/templates.go @@ -50,7 +50,7 @@ EXAMPLES $ {{.Name}} templates --json o Return Go templates in a specific repository - $ {{.Name}} templates go --repository=https://github.com/boson-project/func-templates + $ {{.Name}} templates go --repository=https://github.com/boson-project/templates `, SuggestFor: []string{"template", "templtaes", "templatse", "remplates", "gemplates", "yemplates", "tenplates", "tekplates", "tejplates", diff --git a/docs/reference/func_languages.md b/docs/reference/func_languages.md index cc7f9e0ea..335c1b052 100644 --- a/docs/reference/func_languages.md +++ b/docs/reference/func_languages.md @@ -35,7 +35,7 @@ EXAMPLES $ func languages --json o Return language runtimes in a specific repository - $ func languages --repository=https://github.com/boson-project/func-templates + $ func languages --repository=https://github.com/boson-project/templates ``` diff --git a/docs/reference/func_templates.md b/docs/reference/func_templates.md index 9fe5580bb..454390ec7 100644 --- a/docs/reference/func_templates.md +++ b/docs/reference/func_templates.md @@ -36,7 +36,7 @@ EXAMPLES $ func templates --json o Return Go templates in a specific repository - $ func templates go --repository=https://github.com/boson-project/func-templates + $ func templates go --repository=https://github.com/boson-project/templates ```