mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
fix debug message error
This commit is contained in:
parent
ec7dfeeaf8
commit
768eaff4b8
|
@ -65,7 +65,7 @@ func main() {
|
||||||
cmd.Flag.Usage = func() { cmd.Usage() }
|
cmd.Flag.Usage = func() { cmd.Usage() }
|
||||||
cmd.Flag.Parse(args[1:])
|
cmd.Flag.Parse(args[1:])
|
||||||
args = cmd.Flag.Args()
|
args = cmd.Flag.Args()
|
||||||
*IsDebug = *cmd.IsDebug
|
IsDebug = cmd.IsDebug
|
||||||
if !cmd.Run(cmd, args) {
|
if !cmd.Run(cmd, args) {
|
||||||
fmt.Fprintf(os.Stderr, "\n")
|
fmt.Fprintf(os.Stderr, "\n")
|
||||||
cmd.Flag.Usage()
|
cmd.Flag.Usage()
|
||||||
|
|
Loading…
Reference in a new issue