Skip to content

Commit

Permalink
Fix best-effort flag name in dgraph increment tool.
Browse files Browse the repository at this point in the history
"bo" did not create a best-effort query.
  • Loading branch information
danielmai authored and dna2github committed Jul 19, 2019
1 parent 5e71bf6 commit 875ffd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dgraph/cmd/counter/increment.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ func init() {
flag.String("addr", "localhost:9080", "Address of Dgraph alpha.")
flag.Int("num", 1, "How many times to run.")
flag.Bool("ro", false, "Only read the counter value, don't update it.")
flag.Bool("bo", false, "Read counter value without retrieving timestamp from Zero.")
flag.Bool("be", false, "Read counter value without retrieving timestamp from Zero.")
flag.Duration("wait", 0*time.Second, "How long to wait.")
flag.String("pred", "counter.val", "Predicate to use for storing the counter.")
flag.String("user", "", "Username if login is required.")
Expand Down

0 comments on commit 875ffd3

Please sign in to comment.