--distro= argument now changes the distro info variable

This commit is contained in:
echo 2022-11-15 14:45:26 +03:30
parent 3262f354f7
commit 77a5854a2e
2 changed files with 5 additions and 5 deletions

View file

@ -58,7 +58,11 @@ func handlePrint(action, format string, rest string) {
} else if action == "info" || action == "infoln" { } else if action == "info" || action == "infoln" {
switch rest { switch rest {
case "distro": case "distro":
utils.CutePrint(data.GetDistro(), format) if utils.Asciiforced {
utils.CutePrint(utils.Forceddistro, format)
} else {
utils.CutePrint(data.GetDistro(), format)
}
case "username": case "username":
utils.CutePrint(data.GetUsername(), format) utils.CutePrint(data.GetUsername(), format)
case "uptime": case "uptime":

View file

@ -57,7 +57,3 @@ func Initargs() {
} }
} }
} }
func Woulduwuify() bool {
return shoulduwuify
}