From e9a31096f705ff036b85a5ce175f255480bd0cf3 Mon Sep 17 00:00:00 2001 From: the0xdev <161789357+the0xdev@users.noreply.github.com> Date: Sat, 24 May 2025 05:48:57 +0000 Subject: [PATCH] reuse: add annotate example (#16543) Co-authored-by: Managor <42655600+Managor@users.noreply.github.com> --- pages/common/reuse.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pages/common/reuse.md b/pages/common/reuse.md index e90deb5366..415c1ff631 100644 --- a/pages/common/reuse.md +++ b/pages/common/reuse.md @@ -11,6 +11,14 @@ `reuse --root {{path/to/directory}} lint` +- Add copyright statement to file: + +`reuse annotate {{[-c|--copyright]}} "{{your_name}} <{{your_email}}>" --fallback-dot-license {{path/to/file}}` + +- Add licence information to file: + +`reuse annotate {{[-l|--license]}} {{spdx_identifier}} --fallback-dot-license {{path/to/file}}` + - Download a license by its SPDX identifier and place it in the LICENSES directory: `reuse download {{spdx-identifier}}`