[Imgtool] Fixed recently introduced bug in the code that emits usage text

This commit is contained in:
Nathan Woods 2017-01-22 15:38:22 -05:00 committed by Vas Crabb
parent 23f0259f17
commit ebc23dacaf

View File

@ -35,7 +35,7 @@ static void writeusage(std::wostream &output, bool write_word_usage, const struc
L"%s %s %s %s\n",
(write_word_usage ? L"Usage:" : L" "),
wstring_from_utf8(cmdname),
c->name,
wstring_from_utf8(c->name),
c->usage ? wstring_from_utf8(c->usage) : std::wstring());
}