| commit | 18469210f68168e2f018cb7a94fe761da65d305b | [log] [tgz] |
|---|---|---|
| author | Treehugger Robot <treehugger-gerrit@google.com> | Thu Dec 13 11:16:17 2018 +0000 |
| committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Thu Dec 13 11:16:17 2018 +0000 |
| tree | 7c92d3b55abb4a6c449fba568a9ecc79265e934e | |
| parent | 8d32a659a5379498bd4160645f61218c323797df [diff] | |
| parent | 8ca245e526d0a9ba9fdd9d3eb4c5dd9328e37f4f [diff] |
Merge "Fix bugreport logs by setting 'extra_options' field"
diff --git a/cmds/dumpstate/dumpstate.cpp b/cmds/dumpstate/dumpstate.cpp index 142c4cd..59a0047 100644 --- a/cmds/dumpstate/dumpstate.cpp +++ b/cmds/dumpstate/dumpstate.cpp
@@ -2048,6 +2048,7 @@ } static void SetOptionsFromMode(Dumpstate::BugreportMode mode, Dumpstate::DumpOptions* options) { + options->extra_options = ModeToString(mode); switch (mode) { case Dumpstate::BugreportMode::BUGREPORT_FULL: options->do_broadcast = true;