From 1ab91f08ba96a95955db09fe7df4cd896419e545 Mon Sep 17 00:00:00 2001 From: shylinux Date: Thu, 2 Mar 2023 08:20:05 +0800 Subject: [PATCH] opt some --- init.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/init.go b/init.go index 27f246a5..dc6ff8c8 100644 --- a/init.go +++ b/init.go @@ -117,9 +117,9 @@ func Run(arg ...string) string { os.Exit(kit.Int(Pulse.Option(EXIT))) } default: - // if logs.Disable(true); len(arg) == 0 { - // arg = append(arg, HELP) - // } + if logs.Disable(true); len(arg) == 0 { + arg = append(arg, HELP) + } if Pulse.Cmdy(INIT).Cmdy(arg); Pulse.IsErrNotFound() { Pulse.SetAppend().SetResult().Cmdy(SYSTEM, arg) }