"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()
}