aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2014-10-26 11:25:02 -0700
committerChris Lu <chris.lu@gmail.com>2014-10-26 11:25:02 -0700
commita5d6e70299559c10126f6ef248f475152303a79a (patch)
treecf018a54a3c98189a78402048ee2ac13fb2548dc
parentf527fc1d5ee975fd29e49bf542d893a2d433a491 (diff)
downloadseaweedfs-a5d6e70299559c10126f6ef248f475152303a79a.tar.xz
seaweedfs-a5d6e70299559c10126f6ef248f475152303a79a.zip
fix commenting error.
-rw-r--r--go/weed/export.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/go/weed/export.go b/go/weed/export.go
index 81bc21f6e..9f33d852f 100644
--- a/go/weed/export.go
+++ b/go/weed/export.go
@@ -3,9 +3,9 @@ package main
import (
"archive/tar"
"bytes"
+ "fmt"
"github.com/chrislusf/weed-fs/go/glog"
"github.com/chrislusf/weed-fs/go/storage"
- "fmt"
"os"
"path"
"strconv"
@@ -36,7 +36,7 @@ var cmdExport = &Command{
var (
exportVolumePath = cmdExport.Flag.String("dir", "/tmp", "input data directory to store volume data files")
exportCollection = cmdExport.Flag.String("collection", "", "the volume collection name")
- exportVolumeId = cmdExport.Flag.Int("volumeId", -1, "a volume id. The volume should already exist in the dir. The volume index file should not exist.")
+ exportVolumeId = cmdExport.Flag.Int("volumeId", -1, "a volume id. The volume .dat and .idx files should already exist in the dir.")
dest = cmdExport.Flag.String("o", "", "output tar file name, must ends with .tar, or just a \"-\" for stdout")
format = cmdExport.Flag.String("fileNameFormat", defaultFnFormat, "filename format, default to {{.Mime}}/{{.Id}}:{{.Name}}")
tarFh *tar.Writer