diff options
author | kali kaneko (leap communications) <kali@leap.se> | 2021-11-29 01:47:10 +0100 |
---|---|---|
committer | kali kaneko (leap communications) <kali@leap.se> | 2021-11-29 18:14:17 +0100 |
commit | 74970372b6586b336364ac1affac9dd7d22baef1 (patch) | |
tree | 5e801e7ba16198c165f6d8450490cd82e6426521 /branding/motd-cli | |
parent | 18f52af5be3a9a0c73811706108f790d65ee9c67 (diff) |
[gui] motd
Diffstat (limited to 'branding/motd-cli')
-rw-r--r-- | branding/motd-cli/main.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/branding/motd-cli/main.go b/branding/motd-cli/main.go index cea5910..e1842bf 100644 --- a/branding/motd-cli/main.go +++ b/branding/motd-cli/main.go @@ -47,6 +47,9 @@ func main() { fmt.Printf("Platform: %s %v\n", msg.Platform, mark(msg.IsValidPlatform())) fmt.Printf("Urgency: %s %v\n", msg.Urgency, mark(msg.IsValidUrgency())) fmt.Printf("Languages: %d %v\n", len(msg.Text), mark(msg.HasLocalizedText())) + for _, t := range msg.Text { + fmt.Printf(t.Str) + } if !msg.IsValid() { os.Exit(1) } |