This is an archive of the discontinued LLVM Phabricator instance.

[lldb] Remove indentation before help output.
ClosedPublic

Authored by JDevlieghere on Jun 12 2020, 9:23 PM.

Details

Summary

I always found it weird that there was this level of indentation before the first line of the help output. Supposedly it's meat to be aligned with the subcommands, but I find it visually confusion. This patch remove the indentation before the command help output.

Before

(lldb) help breakpoint
     Commands for operating on breakpoints (see 'help b' for shorthand.)

Syntax: breakpoint <subcommand> [<command-options>]

The following subcommands are supported:

      clear   -- Delete or disable breakpoints matching the specified source file and line.`

After

(lldb) help breakpoint
Commands for operating on breakpoints (see 'help b' for shorthand.)

Syntax: breakpoint <subcommand> [<command-options>]

The following subcommands are supported:

      clear   -- Delete or disable breakpoints matching the specified source file and line.

Diff Detail

Repository
rLLDB LLDB

Event Timeline

JDevlieghere created this revision.

Explicit llvm::StringRef -> std::string conversion.

teemperor accepted this revision.Jun 15 2020, 5:06 AM
teemperor added a subscriber: teemperor.

LGTM

This revision is now accepted and ready to land.Jun 15 2020, 5:06 AM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptJun 15 2020, 9:50 AM