fix debug message error

This commit is contained in:
Chris Lu 2013-01-19 19:58:31 -08:00
parent ec7dfeeaf8
commit 768eaff4b8

View file

@ -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()