diff options
| author | chrislusf <chris.lu@gmail.com> | 2015-05-25 23:53:45 -0700 |
|---|---|---|
| committer | chrislusf <chris.lu@gmail.com> | 2015-05-25 23:53:45 -0700 |
| commit | 7272af8ec45426151593fcd7d1a4d5a8092d5de6 (patch) | |
| tree | 41ae83f0f713de8aa3a2c3e415fb03933f9d6de8 /go/weed/fix.go | |
| parent | c86ae76e0222ebe40b752119ac60661385627297 (diff) | |
| download | seaweedfs-7272af8ec45426151593fcd7d1a4d5a8092d5de6.tar.xz seaweedfs-7272af8ec45426151593fcd7d1a4d5a8092d5de6.zip | |
Adjust dir parameter default value.
Diffstat (limited to 'go/weed/fix.go')
| -rw-r--r-- | go/weed/fix.go | 2 |
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.") ) |
