This commit is contained in:
echo 2022-10-13 11:02:18 +03:30
parent 5bc10073db
commit 0d9de23d07
3 changed files with 15 additions and 0 deletions

View file

@ -17,6 +17,7 @@ var asciiforced = false
var forceddistro string
var Defaultconf bool = false
var Defaultcolor bool = false
var colorold bool = false
func Gethn() string {
cmd := exec.Command("whoami")
@ -47,6 +48,11 @@ func Initargs() {
Defaultconf = true
case "--nocolorconf":
Defaultcolor = true
case "--16color":
colorold = true
default:
print("unknown argument: ", argument, "\n")
os.Exit(0)
}
}
}