espelhamento de
https://github.com/therootcompany/keypairs
sincronizado 2026-04-05 16:07:59 +00:00
bugfix no subcommand
Esse commit está contido em:
pai
d4f18f8c78
commit
7e6fd174ef
@ -51,9 +51,9 @@ func ver() string {
|
|||||||
func main() {
|
func main() {
|
||||||
args := os.Args[:]
|
args := os.Args[:]
|
||||||
|
|
||||||
if "help" == args[1] {
|
if len(args) < 2 || "help" == args[1] {
|
||||||
// top-level help
|
// top-level help
|
||||||
if 2 == len(args) {
|
if len(args) <= 2 {
|
||||||
usage()
|
usage()
|
||||||
os.Exit(0)
|
os.Exit(0)
|
||||||
return
|
return
|
||||||
|
|||||||
Carregando…
x
Referência em uma nova issue
Block a user