diff --git a/cmd/display.go b/cmd/display.go index 4fa20da..1d9616c 100644 --- a/cmd/display.go +++ b/cmd/display.go @@ -58,8 +58,14 @@ func SprintHeaderValues(logLine LogLine) (output string){ } output = output + "\n" - output = output + "MyWWFF " + logLine.MyWWFF + "\n" - output = output + "MySOTA " + logLine.MySOTA + "\n" + if logLine.MyWWFF != "" { + output = output + "MyWWFF " + logLine.MyWWFF + "\n" + } + + if logLine.MySOTA != "" { + output = output + "MySOTA " + logLine.MySOTA + "\n" + } + return output } diff --git a/cmd/load.go b/cmd/load.go index b9d3888..dd30082 100644 --- a/cmd/load.go +++ b/cmd/load.go @@ -280,7 +280,7 @@ func loadFile() { } if(len(errorLog) != 0){ - fmt.Println("\nParsing errors:") + fmt.Println("\nProcessing errors:") for _, errorLogLine := range errorLog { fmt.Println(errorLogLine) } diff --git a/todo.md b/todo.md index eed8e19..e4b850f 100644 --- a/todo.md +++ b/todo.md @@ -2,17 +2,15 @@ ## Input protocol * [ ] document input protocol -* [ ] document protocol as regexp ## Test framework -* [x] enable TDD -* [x] automate build and test -* [ ] Improve build processing (cross compile, directory) * [ ] Perform the test of the complete app +* [ ] Improve build processing (cross compile, directory) + ## Input processing -* [ ] infer RST +* [x] infer RST * [ ] DATE keyword is now optional * [ ] New MYGRID keyword * [ ] Create the logic to take over from the previous line