import-trace: fail gracefully if --elf is missing but needed

Change-Id: Ib154326507e307b65099f1b84c44e796b1aef98a
This commit is contained in:
Horst Schirmeier
2018-07-23 15:33:06 +02:00
parent 54f3d3f9b6
commit 8adc859223
4 changed files with 16 additions and 1 deletions

View File

@ -94,7 +94,7 @@ bool ElfImporter::create_database()
bool ElfImporter::copy_to_database(ProtoIStream &ps)
{
if (!m_elf) {
LOG << "please give an elf binary as parameter (-e/--elf)" << std::endl;
LOG << "Please give an ELF binary as parameter (-e/--elf)." << std::endl;
return false;
}