Show usage on no params to btcctl.

This commit is contained in:
Dave Collins 2013-10-22 10:15:46 -05:00
parent c55152ef7e
commit d4f980c71f

View file

@ -225,7 +225,7 @@ func main() {
}
os.Exit(1)
}
if cfg.Help {
if len(args) < 1 || cfg.Help {
usage(parser)
return
}