================ @@ -1794,8 +1802,35 @@ def SymbolicateCrashLogs(debugger, command_args, result, is_command): result.SetError(str(e)) return + # To avoid breaking existing users, we should keep supporting legacy flags + # even if we don't use them / advertise them anymore. + if not options.mode: + if options.batch: + options.mode = CrashLogLoadingMode.batch + else: + options.mode = CrashLogLoadingMode.interactive ---------------- medismailben wrote:
It's illegal to have both `batch` & `interactive` and `argparse` will prevent you from doing anything. https://github.com/llvm/llvm-project/pull/94575 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits