]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/nncp.go
Do not use multiline const-s with single entry
[nncp.git] / src / nncp.go
index 1a933a03e03edc8daed95d88f8f63508e02bc7a4..dc64ffc14d0263a559a5663afe4423b880a534d5 100644 (file)
@@ -1,6 +1,6 @@
 /*
 NNCP -- Node to Node copy, utilities for store-and-forward data exchange
-Copyright (C) 2016-2021 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2016-2023 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -24,7 +24,9 @@ import (
 )
 
 const (
-       Warranty = `This program is free software: you can redistribute it and/or modify
+       Warranty = `Copyright (C) 2016-2023 Sergey Matveev
+
+This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
 the Free Software Foundation, version 3 of the License.
 
@@ -35,12 +37,11 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with this program.  If not, see <http://www.gnu.org/licenses/>.`
+       Base32Encoded32Len = 52
 )
 
-const Base32Encoded32Len = 52
-
 var (
-       Version string = "6.2.1"
+       Version string = "8.8.4"
 
        Base32Codec *base32.Encoding = base32.StdEncoding.WithPadding(base32.NoPadding)
 )
@@ -48,13 +49,3 @@ var (
 func VersionGet() string {
        return "NNCP version " + Version + " built with " + runtime.Version()
 }
-
-func UsageHeader() string {
-       return VersionGet() + `
-Copyright (C) 2016-2021 Sergey Matveev
-License GPLv3: GNU GPL version 3 <http://gnu.org/licenses/gpl.html>
-This is free software: you are free to change and redistribute it.
-There is NO WARRANTY, to the extent permitted by law.
-
-`
-}