Fix help in generate_cpp_array tool

Signed-off-by: Mateusz Hoppe <mateusz.hoppe@intel.com>
This commit is contained in:
Mateusz Hoppe
2022-10-10 10:40:28 +00:00
committed by Compute-Runtime-Automation
parent 1fedaee18c
commit cdffa8619c

View File

@ -17,8 +17,9 @@ static void showUsage(std::string name) {
std::cerr << "Usage " << name << "<option(s)> - ALL BUT -p, --platform MUST BE SPECIFIED\n"
<< "Options :\n"
<< "\t -f, --file\t\tA file which content will be parsed into a uint32_t array in a .cpp file\n"
<< "\t -o, --out\t\t.Cpp output file name\n"
<< "\t -o, --output\t\t.Cpp output file name\n"
<< "\t -p, --platform\t\tOPTIONAL - Family name with type\n"
<< "\t -r, --revision_id\t\tOPTIONAL - Revision id\n"
<< "\t -a, --array\t\tName of an uin32_t type array containing parsed input file" << std::endl;
}
std::string parseToCharArray(std::unique_ptr<uint8_t[]> &binary, size_t size, std::string &builtinName, std::string &platform, std::string revisionId, bool isSpirV) {