fix help on hex command

This commit is contained in:
John
2021-11-07 10:34:43 +01:00
parent 86510f52ea
commit 3386b2d892
+1 -1
View File
@@ -1254,7 +1254,7 @@ result_t MainLoop::parseHexAndSend(const vector<string>& args, size_t& argPos, b
result_t MainLoop::executeHex(const vector<string>& args, ostringstream* ostream) {
size_t argPos = 1;
result_t ret = parseHexAndSend(args, argPos, false, ostream);
if (argPos == args.size()) {
if (argPos != 0 && argPos == args.size()) {
return ret;
}
*ostream << "usage: hex [-s QQ] ZZPBSBNN[DD]*\n"