瀏覽代碼

Change the --languages description

Fixes #270

Signed-off-by: Vadim Markovtsev <vadim@sourced.tech>
Vadim Markovtsev 6 年之前
父節點
當前提交
f44deef14b
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      internal/plumbing/tree_diff.go

+ 3 - 2
internal/plumbing/tree_diff.go

@@ -106,8 +106,9 @@ func (treediff *TreeDiff) ListConfigurationOptions() []core.ConfigurationOption
 		Name: ConfigTreeDiffLanguages,
 		Description: fmt.Sprintf(
 			"List of programming languages to analyze. Separated by comma \",\". "+
-				"Names are at https://doc.bblf.sh/languages.html \"%s\" is the special name "+
-				"which disables this filter and lets all the files through.", allLanguages),
+				"The names are the keys in https://github.com/github/linguist/blob/master/lib/linguist/languages.yml "+
+				"\"%s\" is the special name which disables this filter and lets all the files through.",
+			allLanguages),
 		Flag:    "languages",
 		Type:    core.StringsConfigurationOption,
 		Default: []string{allLanguages}}, {