[Lldb-commits] [PATCH] D61737: [lldb] add -ex CLI option as alias to --one-line

Raphael Isemann via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Thu May 9 11:30:11 PDT 2019


teemperor added a comment.

Not sure if I like this change. We don't have single dash flags with multiple characters in LLDB, so this flag looks a bit out of place. And there is the bigger question if we really want to be compatible with the GDB flags (which are already incompatible with the flags LLDB is currently offering). If we really go this way then I would suggest we also add more commonly used GDB flags like `--args`.



================
Comment at: lldb/tools/driver/Options.td:164
+  Alias<one_line>,
+  HelpText<"Alias for --one-line. This exists just to ease adoption of LLDB for GDB users.">,
+  Group<grp_command>;
----------------
Usually alias don't have any motivation/description, so the "This exists just to ease adoption of LLDB for GDB users." isn't really necessary (and just clutters the help page IMHO).


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61737/new/

https://reviews.llvm.org/D61737





More information about the lldb-commits mailing list