]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-cfgmin/main.go
Update dependencies
[nncp.git] / src / cmd / nncp-cfgmin / main.go
index bc50792325ab4757c80b85667f4fb7e7f2c4be40..2a1e9cca7881f31e1f573325fc02b7446adb0f89 100644 (file)
@@ -1,6 +1,6 @@
 /*
 NNCP -- Node to Node copy, utilities for store-and-forward data exchange
-Copyright (C) 2016-2022 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,13 +24,12 @@ import (
        "log"
        "os"
 
-       "github.com/hjson/hjson-go"
+       "github.com/hjson/hjson-go/v4"
        "go.cypherpunks.ru/nncp/v8"
 )
 
 func usage() {
-       fmt.Fprintf(os.Stderr, nncp.UsageHeader())
-       fmt.Fprintf(os.Stderr, "nncp-cfgmin -- print stripped configuration\n\n")
+       fmt.Fprint(os.Stderr, "nncp-cfgmin -- print stripped configuration\n\n")
        fmt.Fprintf(os.Stderr, "Usage: %s [options]\nOptions:\n", os.Args[0])
        flag.PrintDefaults()
 }