mirror of https://github.com/spf13/cobra.git
cmd: Add more possible matches for bsd licenses
This commit is contained in:
parent
c68a90d2e8
commit
6ed17b5128
|
@ -18,7 +18,8 @@ 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.
|
||||||
|
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue