Allow full expansion of AOS messages

The -pretty flag in aos_dump is intended to unwrap AOS messages to
one field per line, but doesn’t fully do so for all messages. Add
a flag to force unwrapping to one field per line.

Change-Id: I9cab18d1fc4a67c50d7ca06b35c69f63b39c5041
Signed-off-by: James Kuszmaul <james.kuszmaul@bluerivertech.com>
diff --git a/aos/flatbuffer_introspection.cc b/aos/flatbuffer_introspection.cc
index b7f3727..b442af8 100644
--- a/aos/flatbuffer_introspection.cc
+++ b/aos/flatbuffer_introspection.cc
@@ -300,7 +300,9 @@
   const int child_tree_depth = tree_depth + 1;
 
   bool wrap = false;
-  if (json_options.multi_line) {
+  if (json_options.max_multi_line) {
+    wrap = true;
+  } else if (json_options.multi_line) {
     // Check whether this object has objects, vectors, or floats inside of it
     for (const reflection::Field *field : *obj->fields()) {
       if (ShouldCauseWrapping(field->type()->base_type())) {