This is an archive of the discontinued LLVM Phabricator instance.

[Support][CommandLine] Display subcommands in help when there are less than 3 subcommands
ClosedPublic

Authored by arphaman on Oct 11 2016, 3:10 AM.

Details

Summary

This patch fixes a bug where the help output doesn't display subcommands when a tool has less than 3 subcommands.

Unfortunately I couldn't find a way to write a unittest for this change. Please let me know what's the best way to test this change (if any).

Diff Detail

Repository
rL LLVM

Event Timeline

arphaman updated this revision to Diff 74209.Oct 11 2016, 3:10 AM
arphaman retitled this revision from to [Support][CommandLine] Display subcommands in help when there are less than 3 subcommands.
arphaman updated this object.
arphaman added a reviewer: zturner.
arphaman set the repository for this revision to rL LLVM.
arphaman added a subscriber: llvm-commits.
zturner accepted this revision.Oct 11 2016, 8:57 AM
zturner edited edge metadata.
This revision is now accepted and ready to land.Oct 11 2016, 8:57 AM
This revision was automatically updated to reflect the committed changes.