1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-28 18:22:02 +08:00
This commit is contained in:
IT 老营长 @云轩领航-创始人 2022-02-24 23:33:28 +08:00
parent 5cdb8fc10a
commit e154b0fa18

View File

@ -123,7 +123,7 @@ func Run(arg ...string) string {
} }
default: // 执行命令 default: // 执行命令
if _, ok := Info.names[path.Base(os.Args[0])]; ok { if _, ok := Info.names[path.Base(os.Args[0])]; ok {
arg = kit.Simple(path.Base(os.Args[0]), arg) // arg = kit.Simple(path.Base(os.Args[0]), arg)
} }
if len(arg) == 0 { if len(arg) == 0 {
arg = append(arg, HELP) arg = append(arg, HELP)