Skip to content
Myr

cmd: Add more possible matches for bsd licenses

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Albert Nigmatzianov · committed by Albert Nigmatzianov · parent c68a90d · Browse files · 2 files+4 added−3 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+4 added−3 removed

  • other:+4 added−3 removed

2 files+4 added−3 removed

modified:cobra/cmd/license_bsd_clause_2.go+3 added-2 removed
15 unmodified lines
16package cmd1718func initBsdClause2() {19 Licenses["freebsd"] = License{20 Name: "Simplified BSD License",21 PossibleMatches: []string{"freebsd", "simpbsd", "simple bsd", "2 clause bsd"},20 Name: "Simplified BSD License",21 PossibleMatches: []string{"freebsd", "simpbsd", "simple bsd", "2-clause bsd",22 "2 clause bsd", "simplified bsd license"},23 Header: `24All rights reserved.2526Redistribution and use in source and binary forms, with or without
46 unmodified lines
modified:cobra/cmd/license_bsd_clause_3.go+1 added-1 removed
16 unmodified lines
1718func initBsdClause3() {19 Licenses["bsd"] = License{20 Name: "NewBSD",21 PossibleMatches: []string{"bsd", "newbsd", "3 clause bsd"},21 PossibleMatches: []string{"bsd", "newbsd", "3 clause bsd", "3-clause bsd"},22 Header: `23All rights reserved.2425Redistribution and use in source and binary forms, with or without
54 unmodified lines