This option was recently added to "command script import" so that an "organizing" command file can find python script files relative to itself. It's natural to extend this to command files as well as script source files for much the same reason.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
The one thing that makes me sad about this is that "command script import" chose "-c" as the short letter for this option, but "-c" was already taken for "command source", so I used -C for "command source".
Comment Actions
Maybe it's not too late to change the short letter for command script import, or we could add C as an alias?
lldb/source/Commands/CommandObjectCommands.cpp | ||
---|---|---|
156 | Seems easy enough to detect, so why not? |
Seems easy enough to detect, so why not?