test: llgo commands

This commit is contained in:
Li Jie
2025-01-09 00:09:47 +08:00
parent 219376044a
commit 563f03554f
3 changed files with 341 additions and 3 deletions

View File

@@ -22,7 +22,6 @@ import (
"flag"
"fmt"
"io"
"os"
"strings"
)
@@ -87,7 +86,6 @@ func (c *Command) Usage(w io.Writer) {
c.Flag.SetOutput(w)
c.Flag.PrintDefaults()
fmt.Fprintln(w)
os.Exit(2)
}
// Runnable reports whether the command can be run; otherwise