--distro=
argument now changes the distro
info variable
This commit is contained in:
parent
3262f354f7
commit
77a5854a2e
2 changed files with 5 additions and 5 deletions
4
main.go
4
main.go
|
@ -58,7 +58,11 @@ func handlePrint(action, format string, rest string) {
|
|||
} else if action == "info" || action == "infoln" {
|
||||
switch rest {
|
||||
case "distro":
|
||||
if utils.Asciiforced {
|
||||
utils.CutePrint(utils.Forceddistro, format)
|
||||
} else {
|
||||
utils.CutePrint(data.GetDistro(), format)
|
||||
}
|
||||
case "username":
|
||||
utils.CutePrint(data.GetUsername(), format)
|
||||
case "uptime":
|
||||
|
|
|
@ -57,7 +57,3 @@ func Initargs() {
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
func Woulduwuify() bool {
|
||||
return shoulduwuify
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue