Browse Source

fix debug message error

pull/2/head
Chris Lu 12 years ago
parent
commit
768eaff4b8
  1. 2
      weed-fs/src/cmd/weed/weed.go

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

@ -65,7 +65,7 @@ func main() {
cmd.Flag.Usage = func() { cmd.Usage() }
cmd.Flag.Parse(args[1:])
args = cmd.Flag.Args()
*IsDebug = *cmd.IsDebug
IsDebug = cmd.IsDebug
if !cmd.Run(cmd, args) {
fmt.Fprintf(os.Stderr, "\n")
cmd.Flag.Usage()

|||||||
100:0
Loading…
Cancel
Save