Show usage on no params to btcctl.
This commit is contained in:
parent
c55152ef7e
commit
d4f980c71f
1 changed files with 1 additions and 1 deletions
|
@ -225,7 +225,7 @@ func main() {
|
||||||
}
|
}
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
if cfg.Help {
|
if len(args) < 1 || cfg.Help {
|
||||||
usage(parser)
|
usage(parser)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue