bruh
This commit is contained in:
parent
5bc10073db
commit
0d9de23d07
3 changed files with 15 additions and 0 deletions
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue