Skip to content

Commit 145e572

Browse files
committed
Unbreak cmdline_test.
There was a k-vs-j loop error introduced by a prior comment.
1 parent 1d3294a commit 145e572

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/cmdline_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ void test_cmdline(const char* syntax,
141141
for (size_t k = 0; k < opt.value.size(); ++k) {
142142
if (k != 0)
143143
result += "-";
144-
result += opt.value[j];
144+
result += opt.value[k];
145145
}
146146
}
147147
}

0 commit comments

Comments
 (0)