Skip to content

Commit

Permalink
fix commenting error.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrislusf committed Oct 26, 2014
1 parent f527fc1 commit a5d6e70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/weed/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit a5d6e70

Please sign in to comment.