Rename --use_hex to --hex
This is much more common on unix systems, and I end up typing it by
accident most of the time. And it is shorter too.
Change-Id: I8e4bbc186a8a82c7546d74e161c145825f0c4c0f
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/events/logging/log_cat.cc b/aos/events/logging/log_cat.cc
index da061ed..a2441c8 100644
--- a/aos/events/logging/log_cat.cc
+++ b/aos/events/logging/log_cat.cc
@@ -59,7 +59,7 @@
DEFINE_double(monotonic_end_time, 0.0,
"If set, only print messages sent at or before this many seconds "
"after epoch.");
-DEFINE_bool(use_hex, false,
+DEFINE_bool(hex, false,
"Are integers in the messages printed in hex notation.");
using aos::monotonic_clock;
@@ -390,7 +390,7 @@
.print_timestamps = FLAGS_print_timestamps,
.json = FLAGS_json,
.distributed_clock = FLAGS_distributed_clock,
- .use_hex = FLAGS_use_hex,
+ .hex = FLAGS_hex,
},
false);