cmd: Add more possible matches for bsd licenses

This commit is contained in:
Albert Nigmatzianov 2017-04-25 18:44:33 +02:00
parent c68a90d2e8
commit 6ed17b5128
2 changed files with 4 additions and 3 deletions

View File

@ -17,8 +17,9 @@ package cmd
func initBsdClause2() { func initBsdClause2() {
Licenses["freebsd"] = License{ Licenses["freebsd"] = License{
Name: "Simplified BSD License", Name: "Simplified BSD License",
PossibleMatches: []string{"freebsd", "simpbsd", "simple bsd", "2 clause bsd"}, PossibleMatches: []string{"freebsd", "simpbsd", "simple bsd", "2-clause bsd",
"2 clause bsd", "simplified bsd license"},
Header: ` Header: `
All rights reserved. All rights reserved.

View File

@ -18,7 +18,7 @@ package cmd
func initBsdClause3() { func initBsdClause3() {
Licenses["bsd"] = License{ Licenses["bsd"] = License{
Name: "NewBSD", Name: "NewBSD",
PossibleMatches: []string{"bsd", "newbsd", "3 clause bsd"}, PossibleMatches: []string{"bsd", "newbsd", "3 clause bsd", "3-clause bsd"},
Header: ` Header: `
All rights reserved. All rights reserved.