This is an archive of the discontinued LLVM Phabricator instance.

[lldb/crashlog] Show help when the command is called without any argument
ClosedPublic

Authored by mib on Jun 8 2022, 3:59 PM.

Details

Summary

This patch changes the crashlog command behavior to print the help
message if no argument was provided with the command.

rdar://94576026

Signed-off-by: Med Ismail Bennani <medismail.bennani@gmail.com>

Diff Detail

Event Timeline

mib created this revision.Jun 8 2022, 3:59 PM
Herald added a project: Restricted Project. · View Herald TranscriptJun 8 2022, 3:59 PM
mib requested review of this revision.Jun 8 2022, 3:59 PM
JDevlieghere accepted this revision.Jun 8 2022, 4:02 PM

LGTM with a test :-)

This revision is now accepted and ready to land.Jun 8 2022, 4:02 PM
mib updated this revision to Diff 435383.Jun 8 2022, 4:21 PM

Add test

JDevlieghere accepted this revision.Jun 8 2022, 4:25 PM