aboutsummaryrefslogtreecommitdiff
path: root/go/weed/fix.go
diff options
context:
space:
mode:
authorchrislusf <chris.lu@gmail.com>2015-05-25 23:53:45 -0700
committerchrislusf <chris.lu@gmail.com>2015-05-25 23:53:45 -0700
commit7272af8ec45426151593fcd7d1a4d5a8092d5de6 (patch)
tree41ae83f0f713de8aa3a2c3e415fb03933f9d6de8 /go/weed/fix.go
parentc86ae76e0222ebe40b752119ac60661385627297 (diff)
downloadseaweedfs-7272af8ec45426151593fcd7d1a4d5a8092d5de6.tar.xz
seaweedfs-7272af8ec45426151593fcd7d1a4d5a8092d5de6.zip
Adjust dir parameter default value.
Diffstat (limited to 'go/weed/fix.go')
-rw-r--r--go/weed/fix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/weed/fix.go b/go/weed/fix.go
index f0fdbe7aa..3abcbc31c 100644
--- a/go/weed/fix.go
+++ b/go/weed/fix.go
@@ -22,7 +22,7 @@ var cmdFix = &Command{
}
var (
- fixVolumePath = cmdFix.Flag.String("dir", "/tmp", "data directory to store files")
+ fixVolumePath = cmdFix.Flag.String("dir", ".", "data directory to store files")
fixVolumeCollection = cmdFix.Flag.String("collection", "", "the volume collection name")
fixVolumeId = cmdFix.Flag.Int("volumeId", -1, "a volume id. The volume should already exist in the dir. The volume index file should not exist.")
)