added no config settings, and like 3 letters to a string.
This commit is contained in:
parent
55c749c131
commit
5cc0fc3652
3 changed files with 19 additions and 6 deletions
|
|
@ -15,6 +15,8 @@ var Customascii = false
|
|||
var asciidir string
|
||||
var asciiforced = false
|
||||
var forceddistro string
|
||||
var Defaultconf bool = false
|
||||
var Defaultcolor bool = false
|
||||
|
||||
func Gethn() string {
|
||||
cmd := exec.Command("whoami")
|
||||
|
|
@ -41,6 +43,10 @@ func Initargs() {
|
|||
usepng = true
|
||||
case "--nocolor":
|
||||
hascolor = false
|
||||
case "--noconf":
|
||||
Defaultconf = true
|
||||
case "--nocolorconf":
|
||||
Defaultcolor = true
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue