This is an archive of the discontinued LLVM Phabricator instance.

[llvm-cov] - Improve llvm-cov error message
ClosedPublic

Authored by MaggieYi on Jul 21 2016, 3:27 AM.

Details

Summary

When giving the following command:
% llvm-cov report -instr-profile=default.profraw

llvm-cov will give the following error message:

llvm-cov report: Not enough positional command line arguments specified!
Must specify at least 1 positional arguments: See: orbis-llvm-cov report –help

This patch changes the error message from “1 positional arguments” to “1 positional argument”.

Diff Detail

Event Timeline

MaggieYi updated this revision to Diff 64851.Jul 21 2016, 3:27 AM
MaggieYi retitled this revision from to [llvm-cov] - Improve llvm-cov error message.
MaggieYi updated this object.
MaggieYi added reviewers: vsk, davidxl.
MaggieYi added a subscriber: llvm-commits.
vsk accepted this revision.Jul 21 2016, 10:07 AM
vsk edited edge metadata.

Thanks, LGTM.

This revision is now accepted and ready to land.Jul 21 2016, 10:07 AM
This revision was automatically updated to reflect the committed changes.