mirror of
https://github.com/spf13/cobra
synced 2024-12-28 07:17:06 +00:00
cmd: Add more possible matches for bsd licenses
This commit is contained in:
parent
c68a90d2e8
commit
6ed17b5128
2 changed files with 4 additions and 3 deletions
|
@ -17,8 +17,9 @@ package cmd
|
|||
|
||||
func initBsdClause2() {
|
||||
Licenses["freebsd"] = License{
|
||||
Name: "Simplified BSD License",
|
||||
PossibleMatches: []string{"freebsd", "simpbsd", "simple bsd", "2 clause bsd"},
|
||||
Name: "Simplified BSD License",
|
||||
PossibleMatches: []string{"freebsd", "simpbsd", "simple bsd", "2-clause bsd",
|
||||
"2 clause bsd", "simplified bsd license"},
|
||||
Header: `
|
||||
All rights reserved.
|
||||
|
||||
|
|
|
@ -18,7 +18,7 @@ package cmd
|
|||
func initBsdClause3() {
|
||||
Licenses["bsd"] = License{
|
||||
Name: "NewBSD",
|
||||
PossibleMatches: []string{"bsd", "newbsd", "3 clause bsd"},
|
||||
PossibleMatches: []string{"bsd", "newbsd", "3 clause bsd", "3-clause bsd"},
|
||||
Header: `
|
||||
All rights reserved.
|
||||
|
||||
|
|
Loading…
Reference in a new issue