]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/nncp.go
Remove huge usage headers, -warranty exists anyway
[nncp.git] / src / nncp.go
index 5b6ef8bbfebf2a8e07529e1db9eb0e432818f2a0..8ee3fb0d595a56719dca9bdc6dff7b78bba4aa54 100644 (file)
@@ -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.
 
@@ -48,13 +50,3 @@ var (
 func VersionGet() string {
        return "NNCP version " + Version + " built with " + runtime.Version()
 }
-
-func UsageHeader() string {
-       return VersionGet() + `
-Copyright (C) 2016-2023 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.
-
-`
-}