forked from x/icebergs
opt some
This commit is contained in:
parent
51f24bbc48
commit
1ab91f08ba
6
init.go
6
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)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user