]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-hash/main.go
Remove huge usage headers, -warranty exists anyway
[nncp.git] / src / cmd / nncp-hash / main.go
index a350134c0486f9c46a1d3ab44526b6ea8c725aa2..d517e356367f577389bfcb2be5dd711dd1a35d1a 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
@@ -32,8 +32,7 @@ import (
 )
 
 func usage() {
-       fmt.Fprintf(os.Stderr, nncp.UsageHeader())
-       fmt.Fprintf(os.Stderr, "nncp-hash -- calculate MTH hash of the file\n\n")
+       fmt.Fprint(os.Stderr, "nncp-hash -- calculate MTH hash of the file\n\n")
        fmt.Fprintf(os.Stderr, "Usage: %s [-file ...] [-seek X] [-debug] [-progress] [options]\nOptions:\n", os.Args[0])
        flag.PrintDefaults()
 }