UP 功能建议更新

This commit is contained in:
jixishi
2024-06-03 20:54:23 +08:00
parent 88285df82b
commit c841dfeae4
5 changed files with 54 additions and 37 deletions
+3 -2
View File
@@ -2,8 +2,8 @@ package main
import (
"bufio"
"flag"
"fmt"
"github.com/spf13/pflag"
"github.com/trzsz/trzsz-go/trzsz"
"github.com/zimolab/charsetconv"
"go.bug.st/serial"
@@ -126,7 +126,8 @@ func output() {
}
}
func main() {
flag.Parse()
pflag.Parse()
flagExt()
if config.portName == "" {
getCliFlag()
}