diff --git a/LICENSE b/LICENSE index 29ebfa545f5580919a4e884d7014d7a3eb2df762..ba923abd782d6fbe7d529738c01508c783d81391 100644 --- a/LICENSE +++ b/LICENSE @@ -1,5 +1,6 @@ GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 + AGPL-3.0-or-later Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/> Everyone is permitted to copy and distribute verbatim copies diff --git a/Makefile b/Makefile index 423c46b20c6bf1a7582e5b2ed663f61433b09458..c149982aa9f602b5dfb1aba0ced25241a1a8b472 100644 --- a/Makefile +++ b/Makefile @@ -139,7 +139,7 @@ endif .PHONY: fetch-licenses ## Fetch licenses for all modules fetch-licenses: - go-licenses save $(GO_CURRENT_MODULE) --ignore gitlab.schukai.com --force --save_path $(PROJECT_ROOT)licenses/ ; cd - + go-licenses save $(GO_CURRENT_MODULE) --ignore gitlab.schukai.com --force --save_path $(PROJECT_ROOT)licenses/ # https://spdx.github.io/spdx-spec/v2.3/SPDX-license-list/ ADDLICENSE_BIN ?= addlicense @@ -151,7 +151,7 @@ endif .PHONY: add-licenses ## Add license headers to all go files add-licenses: - addlicense -c "schukai GmbH" -s -l "AGPL-3.0-or-later" ./*.go + addlicense -c "schukai GmbH" -s -l "AGPL-3.0" ./*.go diff --git a/doc.go b/doc.go index 69bd673b1ec3e95fa7f2b604e0026e6e7cd2e9d5..01eada321d024490213846d0cb6c6ffa72c8cd76 100644 --- a/doc.go +++ b/doc.go @@ -1,7 +1,20 @@ +// This package provides a simple way to create a CLI application +// with subcommands. It is based on the flags package from + // Copyright 2022 schukai GmbH // SPDX-License-Identifier: AGPL-3.0-or-later -// This package provides a simple way to create a CLI application -// with subcommands. It is based on the flags package from +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU Affero General Public License as published +// by the Free Software Foundation, either version 3 of the License, or +// (at your option) any later version. +// +// This program is distributed in the hope that it will be useful, +// but WITHOUT ANY WARRANTY; without even the implied warranty of +// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +// GNU Affero General Public License for more details. +// +// You should have received a copy of the GNU Affero General Public License +// along with this program. If not, see <https://www.gnu.org/licenses/>. package xflags