Skip to content

Commit d386fa5

Browse files
committed
Fix best-effort flag name in dgraph increment tool.
"bo" did not create a best-effort query.
1 parent 1cca801 commit d386fa5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dgraph/cmd/counter/increment.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ func init() {
4949
flag.String("addr", "localhost:9080", "Address of Dgraph alpha.")
5050
flag.Int("num", 1, "How many times to run.")
5151
flag.Bool("ro", false, "Only read the counter value, don't update it.")
52+
flag.Bool("be", false, "Read counter value without retrieving timestamp from Zero.")
5253
flag.Duration("wait", 0*time.Second, "How long to wait.")
5354
flag.String("pred", "counter.val", "Predicate to use for storing the counter.")
5455
}

0 commit comments

Comments
 (0)