From 31127620e5ed988d41f19549e966f612454c5806 Mon Sep 17 00:00:00 2001 From: Dane Everitt Date: Fri, 26 Mar 2021 09:33:24 -0700 Subject: [PATCH] License date updates --- LICENSE | 2 +- cmd/root.go | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/LICENSE b/LICENSE index 449fc69..963a44e 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright (c) 2019 Dane Everitt +Copyright (c) 2018 - 2021 Dane Everitt and Contributors Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/cmd/root.go b/cmd/root.go index a0f63f2..bfd810e 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -58,7 +58,7 @@ var versionCommand = &cobra.Command{ Use: "version", Short: "Prints the current executable version and exits.", Run: func(cmd *cobra.Command, _ []string) { - fmt.Printf("wings v%s\nCopyright © 2018 - 2021 Dane Everitt & Contributors\n", system.Version) + fmt.Printf("wings v%s\nCopyright © 2018 - %d Dane Everitt & Contributors\n", system.Version, time.Now().Year()) }, } @@ -400,7 +400,7 @@ __ [blue][bold]Pterodactyl[reset] _____/___/_______ _______ ______ \___/\___/___/___/___/___ /______/ /_______/ [bold]%s[reset] -Copyright © 2018 - 2021 Dane Everitt & Contributors +Copyright © 2018 - %d Dane Everitt & Contributors Website: https://pterodactyl.io Source: https://github.com/pterodactyl/wings @@ -408,7 +408,7 @@ License: https://github.com/pterodactyl/wings/blob/develop/LICENSE This software is made available under the terms of the MIT license. The above copyright notice and this permission notice shall be included -in all copies or substantial portions of the Software.%s`), system.Version, "\n\n") +in all copies or substantial portions of the Software.%s`), system.Version, time.Now().Year(), "\n\n") } func exitWithConfigurationNotice() {