mirror of
https://github.com/btcsuite/btcd.git
synced 2024-11-19 18:00:11 +01:00
Show usage on no params to btcctl.
This commit is contained in:
parent
c55152ef7e
commit
d4f980c71f
@ -225,7 +225,7 @@ func main() {
|
||||
}
|
||||
os.Exit(1)
|
||||
}
|
||||
if cfg.Help {
|
||||
if len(args) < 1 || cfg.Help {
|
||||
usage(parser)
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user