diff --git a/dgraph/cmd/bulk/run.go b/dgraph/cmd/bulk/run.go index 60c7ecbb1f8..a1bac61e6bb 100644 --- a/dgraph/cmd/bulk/run.go +++ b/dgraph/cmd/bulk/run.go @@ -79,7 +79,7 @@ func init() { "Number of reducers to run concurrently. Increasing this can improve performance, and "+ "must be less than or equal to the number of reduce shards.") flag.Bool("version", false, "Prints the version of Dgraph Bulk Loader.") - flag.BoolP("store_xids", "x", false, "Generate an xid edge for each node.") + flag.Bool("store_xids", false, "Generate an xid edge for each node.") flag.StringP("zero", "z", "localhost:5080", "gRPC address for Dgraph zero") flag.String("xidmap", "", "Directory to store xid to uid mapping") // TODO: Potentially move http server to main. diff --git a/systest/bulk_live_fixture_test.go b/systest/bulk_live_fixture_test.go index a0b1a5938c3..89eb1c2538f 100644 --- a/systest/bulk_live_fixture_test.go +++ b/systest/bulk_live_fixture_test.go @@ -139,7 +139,7 @@ func (s *suite) setup(schemaFile, rdfFile string) { "-s", schemaFile, "--http", "localhost:"+strconv.Itoa(freePort(0)), "-j=1", - "-x=true", + "--store_xids=true", "-z", "localhost:"+s.bulkCluster.zeroPort, ) bulkCmd.Dir = bulkDir