1
0

feat: add notice about requirement of SPDX ID

This commit is contained in:
Wiktor Zykubek 2024-12-29 03:04:53 +01:00
parent 4295ff3a1d
commit b3595e1f6d
Signed by: wzykubek
GPG Key ID: 2221881F957D89B9

View File

@ -108,7 +108,7 @@ func genLicense(licName string, inputData InputData, outFileName string) error {
func main() { func main() {
OutputFile := flag.String("output", "LICENSE", "Specify different output file") OutputFile := flag.String("output", "LICENSE", "Specify different output file")
LicenseName := flag.String("license", "", "Choose a license") LicenseName := flag.String("license", "", "Specify license by SPDX ID (e.g. BSD-3-Clause)")
AuthorName := flag.String("name", "", "Set the author name (read from Git by default)") AuthorName := flag.String("name", "", "Set the author name (read from Git by default)")
AuthorEmail := flag.String("email", "", "Set the author email (read from Git by default)") AuthorEmail := flag.String("email", "", "Set the author email (read from Git by default)")
ListLicenses := flag.Bool("list", false, "List available licenses") ListLicenses := flag.Bool("list", false, "List available licenses")