update version
This commit is contained in:
parent
63c454d647
commit
343b7510cc
5
main.go
5
main.go
|
@ -2,7 +2,6 @@ package main
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"golang.org/x/time/rate"
|
|
||||||
"io/ioutil"
|
"io/ioutil"
|
||||||
"net"
|
"net"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
@ -12,6 +11,8 @@ import (
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
|
"golang.org/x/time/rate"
|
||||||
|
|
||||||
"gopkg.in/alecthomas/kingpin.v3-unstable"
|
"gopkg.in/alecthomas/kingpin.v3-unstable"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
@ -171,7 +172,7 @@ func rateFlag(c *kingpin.Clause) (target *rateFlagValue) {
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
kingpin.UsageTemplate(CompactUsageTemplate).
|
kingpin.UsageTemplate(CompactUsageTemplate).
|
||||||
Version("1.2.0").
|
Version("1.3.1").
|
||||||
Author("six-ddc@github").
|
Author("six-ddc@github").
|
||||||
Resolver(kingpin.PrefixedEnvarResolver("PLOW_", ";")).
|
Resolver(kingpin.PrefixedEnvarResolver("PLOW_", ";")).
|
||||||
Help = `A high-performance HTTP benchmarking tool with real-time web UI and terminal displaying`
|
Help = `A high-performance HTTP benchmarking tool with real-time web UI and terminal displaying`
|
||||||
|
|
Loading…
Reference in New Issue