소스 검색

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}}, {