Skip to content

Commit

Permalink
moved strings and corrected help text on URLs to original.
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Miron committed Nov 15, 2016
1 parent f0a14ec commit 3cb02cf
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions examples/stan-bench.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ import (
"fmt"
"io/ioutil"
"log"
"strings"
"sync"
"time"

"github.com/nats-io/go-nats-streaming"
"github.com/nats-io/nats"
"github.com/nats-io/nats/bench"
"strings"

)

// Some sane defaults
Expand All @@ -35,7 +36,7 @@ func usage() {
var benchmark *bench.Benchmark

func main() {
var urls = flag.String("s", nats.DefaultURL, "The NATS server URL")
var urls = flag.String("s", nats.DefaultURL, "The NATS server URLs (separated by comma")
var tls = flag.Bool("tls", false, "Use TLS secure sonnection")
var numPubs = flag.Int("np", DefaultNumPubs, "Number of concurrent publishers")
var numSubs = flag.Int("ns", DefaultNumSubs, "Number of concurrent subscribers")
Expand Down

0 comments on commit 3cb02cf

Please sign in to comment.