mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-22 20:14:05 +08:00
all switching to "weed command [args]" usage mode
git-svn-id: https://weed-fs.googlecode.com/svn/trunk@64 282b0af5-e82d-9cf1-ede4-77906d7719d0
This commit is contained in:
@@ -10,6 +10,7 @@ import (
|
||||
|
||||
func init() {
|
||||
cmdFix.Run = runFix // break init cycle
|
||||
IsDebug = cmdFix.Flag.Bool("debug", false, "enable debug mode")
|
||||
}
|
||||
|
||||
var cmdFix = &Command{
|
||||
@@ -23,9 +24,6 @@ var cmdFix = &Command{
|
||||
var (
|
||||
dir = cmdFix.Flag.String("dir", "/tmp", "data directory to store files")
|
||||
volumeId = cmdFix.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 = cmdFix.Flag.Bool("debug", false, "enable debug mode")
|
||||
|
||||
store *storage.Store
|
||||
)
|
||||
|
||||
func runFix(cmd *Command, args []string) bool {
|
||||
|
Reference in New Issue
Block a user