--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
6
main.go
6
main.go
|
@ -58,7 +58,11 @@ func handlePrint(action, format string, rest string) {
|
|||
} else if action == "info" || action == "infoln" {
|
||||
switch rest {
|
||||
case "distro":
|
||||
utils.CutePrint(data.GetDistro(), format)
|
||||
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