Browse Source

add usage instructions

git-svn-id: https://weed-fs.googlecode.com/svn/trunk@40 282b0af5-e82d-9cf1-ede4-77906d7719d0
pull/2/head
chris.lu@gmail.com 13 years ago
parent
commit
50b1eff390
  1. 2
      weed-fs/src/cmd/weedvolume/fix_volume_index/fix_volume_index.go

2
weed-fs/src/cmd/weedvolume/fix_volume_index/fix_volume_index.go

@ -11,7 +11,7 @@ import (
var ( var (
dir = flag.String("dir", "/tmp", "data directory to store files") dir = flag.String("dir", "/tmp", "data directory to store files")
volumeId = flag.Int("volumeId", -1, "volume id")
volumeId = flag.Int("volumeId", -1, "a non-negative volume id. The volume should already exist in the dir. The volume index file should not exist.")
IsDebug = flag.Bool("debug", false, "enable debug mode") IsDebug = flag.Bool("debug", false, "enable debug mode")
store *storage.Store store *storage.Store

Loading…
Cancel
Save