Be explicit about the identifier that needs to be passed to 'convert'

This commit is contained in:
baldurk
2018-03-03 16:27:02 +00:00
parent d65e4339ec
commit 0e31ab4b07
+1 -1
View File
@@ -637,7 +637,7 @@ struct ConvertCommand : public Command
{
cmdline::oneof_reader<string> formatOptions;
for(CaptureFileFormat f : m_Formats)
formatOptions.add(f.name);
formatOptions.add((std::string(f.extension) + " - ") + f.name.c_str());
parser.add<string>("filename", 'f', "The file to convert from.", false);
parser.add<string>("output", 'o', "The file to convert to.", false);