From 6ed17b5128e8932c9ecd4c3970e8ea5e60a418ac Mon Sep 17 00:00:00 2001 From: Albert Nigmatzianov Date: Tue, 25 Apr 2017 18:44:33 +0200 Subject: [PATCH] cmd: Add more possible matches for bsd licenses --- cobra/cmd/license_bsd_clause_2.go | 5 +++-- cobra/cmd/license_bsd_clause_3.go | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/cobra/cmd/license_bsd_clause_2.go b/cobra/cmd/license_bsd_clause_2.go index 26bc775..f2982da 100644 --- a/cobra/cmd/license_bsd_clause_2.go +++ b/cobra/cmd/license_bsd_clause_2.go @@ -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. diff --git a/cobra/cmd/license_bsd_clause_3.go b/cobra/cmd/license_bsd_clause_3.go index 062c115..39c9571 100644 --- a/cobra/cmd/license_bsd_clause_3.go +++ b/cobra/cmd/license_bsd_clause_3.go @@ -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.