1LICENSE-VALIDATE(1) License Validate LICENSE-VALIDATE(1)
2
3
4
6 license-validate - validates the string in the License tag in the SPEC
7 file
8
10 license-validate [-h] [--file FILE] [--verbose] license
11
12 positional arguments: license license string. E.g., 'GPL or MIT'.
13
15 -h, --help
16 Show help message and exit.
17
18 --file FILE
19 Read the grammar from this file. Default is
20 /usr/share/license-validate/grammar.lark. And if this default does
21 not exists then script reads ./full-grammar.lark.
22
23 --verbose, -v
24 Print more human friendly messages. Otherwise just exits with error
25 code zero if license is valid otherwise with error code 1 if
26 license is invalid.
27
29 Validates whether license is in approved set for the distribution.
30
31 This script does not check source files and does not check whether the
32 license is actually correct. For this purpose you may use licensecheck.
33
35 Miroslav Suchý <msuchy@redhat.com>
36
37
38
39license-validate 04/22/2022 LICENSE-VALIDATE(1)