From 9e6b58afc70c60a6b3c8a0138fb25acc734d47e3 Mon Sep 17 00:00:00 2001 From: Unai Martinez-Corral <38422348+umarcor@users.noreply.github.com> Date: Mon, 6 Mar 2023 02:28:31 +0000 Subject: [PATCH] update copyright year (#1927) --- .github/workflows/test.yml | 2 +- .golangci.yml | 2 +- active_help.go | 2 +- active_help_test.go | 2 +- args.go | 2 +- args_test.go | 2 +- bash_completions.go | 2 +- bash_completionsV2.go | 2 +- bash_completionsV2_test.go | 2 +- bash_completions_test.go | 2 +- cobra.go | 2 +- cobra_test.go | 2 +- command.go | 2 +- command_notwin.go | 2 +- command_test.go | 2 +- command_win.go | 2 +- completions.go | 2 +- completions_test.go | 2 +- doc/cmd_test.go | 2 +- doc/man_docs.go | 2 +- doc/man_docs_test.go | 2 +- doc/man_examples_test.go | 2 +- doc/md_docs.go | 2 +- doc/md_docs_test.go | 2 +- doc/rest_docs.go | 2 +- doc/rest_docs_test.go | 2 +- doc/util.go | 2 +- doc/yaml_docs.go | 2 +- doc/yaml_docs_test.go | 2 +- fish_completions.go | 2 +- fish_completions_test.go | 2 +- flag_groups.go | 2 +- flag_groups_test.go | 2 +- powershell_completions.go | 2 +- powershell_completions_test.go | 2 +- shell_completions.go | 2 +- zsh_completions.go | 2 +- zsh_completions_test.go | 2 +- 38 files changed, 38 insertions(+), 38 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index f3076b793..6a0c7bb81 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -25,7 +25,7 @@ jobs: -v $(pwd):/wrk -w /wrk ghcr.io/google/addlicense -c 'The Cobra Authors' - -y '2013-2022' + -y '2013-2023' -l apache -ignore '.github/**' -check diff --git a/.golangci.yml b/.golangci.yml index 439d3e1de..2578d94b5 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -1,4 +1,4 @@ -# Copyright 2013-2022 The Cobra Authors +# Copyright 2013-2023 The Cobra Authors # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/active_help.go b/active_help.go index 95e03aecb..2d0239437 100644 --- a/active_help.go +++ b/active_help.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/active_help_test.go b/active_help_test.go index 3653dd87d..2d624794c 100644 --- a/active_help_test.go +++ b/active_help_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/args.go b/args.go index 2f4056c85..e79ec33a8 100644 --- a/args.go +++ b/args.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/args_test.go b/args_test.go index fd2c3b415..90d174cce 100644 --- a/args_test.go +++ b/args_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/bash_completions.go b/bash_completions.go index a9f4e4f2b..10c78847d 100644 --- a/bash_completions.go +++ b/bash_completions.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/bash_completionsV2.go b/bash_completionsV2.go index 5a38e38d5..19b09560c 100644 --- a/bash_completionsV2.go +++ b/bash_completionsV2.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/bash_completionsV2_test.go b/bash_completionsV2_test.go index 9302baf04..88587e292 100644 --- a/bash_completionsV2_test.go +++ b/bash_completionsV2_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/bash_completions_test.go b/bash_completions_test.go index 5c32306d3..44412577a 100644 --- a/bash_completions_test.go +++ b/bash_completions_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cobra.go b/cobra.go index 841cda0c8..b07b44a0c 100644 --- a/cobra.go +++ b/cobra.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/cobra_test.go b/cobra_test.go index 71353c9dd..fbb07f9bb 100644 --- a/cobra_test.go +++ b/cobra_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/command.go b/command.go index b6e3f4a1c..01f7c6f1c 100644 --- a/command.go +++ b/command.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/command_notwin.go b/command_notwin.go index 2b77f8f01..307f0c127 100644 --- a/command_notwin.go +++ b/command_notwin.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/command_test.go b/command_test.go index 18011325d..0212f5ae9 100644 --- a/command_test.go +++ b/command_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/command_win.go b/command_win.go index 520f23abf..adbef395c 100644 --- a/command_win.go +++ b/command_win.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/completions.go b/completions.go index c7b457eb2..8a42f8898 100644 --- a/completions.go +++ b/completions.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/completions_test.go b/completions_test.go index 2364ed2ee..0588da0f1 100644 --- a/completions_test.go +++ b/completions_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/cmd_test.go b/doc/cmd_test.go index 4f2a0f581..0d022c77d 100644 --- a/doc/cmd_test.go +++ b/doc/cmd_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/man_docs.go b/doc/man_docs.go index b5a2c596e..b8c15ce88 100644 --- a/doc/man_docs.go +++ b/doc/man_docs.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/man_docs_test.go b/doc/man_docs_test.go index d296eebea..c111d455f 100644 --- a/doc/man_docs_test.go +++ b/doc/man_docs_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/man_examples_test.go b/doc/man_examples_test.go index b995bf6db..873b2b6d6 100644 --- a/doc/man_examples_test.go +++ b/doc/man_examples_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/md_docs.go b/doc/md_docs.go index bab4b4963..c4a27c009 100644 --- a/doc/md_docs.go +++ b/doc/md_docs.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/md_docs_test.go b/doc/md_docs_test.go index b1632e9c5..e70cad822 100644 --- a/doc/md_docs_test.go +++ b/doc/md_docs_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/rest_docs.go b/doc/rest_docs.go index bb0f8ec42..2cca6fd77 100644 --- a/doc/rest_docs.go +++ b/doc/rest_docs.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/rest_docs_test.go b/doc/rest_docs_test.go index 0c197f8dd..1a3ea9dd5 100644 --- a/doc/rest_docs_test.go +++ b/doc/rest_docs_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/util.go b/doc/util.go index 499ecdd91..0aaa07a16 100644 --- a/doc/util.go +++ b/doc/util.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/yaml_docs.go b/doc/yaml_docs.go index 12f8cf33b..2b26d6ec0 100644 --- a/doc/yaml_docs.go +++ b/doc/yaml_docs.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/doc/yaml_docs_test.go b/doc/yaml_docs_test.go index c552077d8..1a6fa7c31 100644 --- a/doc/yaml_docs_test.go +++ b/doc/yaml_docs_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fish_completions.go b/fish_completions.go index 32c4bea0a..12ca0d2b1 100644 --- a/fish_completions.go +++ b/fish_completions.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/fish_completions_test.go b/fish_completions_test.go index 935f5540c..10d97d854 100644 --- a/fish_completions_test.go +++ b/fish_completions_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/flag_groups.go b/flag_groups.go index 9c377aaf9..b35fde155 100644 --- a/flag_groups.go +++ b/flag_groups.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/flag_groups_test.go b/flag_groups_test.go index b4b65ac05..bf988d734 100644 --- a/flag_groups_test.go +++ b/flag_groups_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/powershell_completions.go b/powershell_completions.go index 927733b36..177d2755f 100644 --- a/powershell_completions.go +++ b/powershell_completions.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/powershell_completions_test.go b/powershell_completions_test.go index 3d3d10333..b40921341 100644 --- a/powershell_completions_test.go +++ b/powershell_completions_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/shell_completions.go b/shell_completions.go index 126e83c30..b035742d3 100644 --- a/shell_completions.go +++ b/shell_completions.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/zsh_completions.go b/zsh_completions.go index 29bcb570a..9afdf3c04 100644 --- a/zsh_completions.go +++ b/zsh_completions.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/zsh_completions_test.go b/zsh_completions_test.go index 258b1f71d..fe898b3da 100644 --- a/zsh_completions_test.go +++ b/zsh_completions_test.go @@ -1,4 +1,4 @@ -// Copyright 2013-2022 The Cobra Authors +// Copyright 2013-2023 The Cobra Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License.