git-svn-id: svn://db.shs.com.ru/pip@957 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5

This commit is contained in:
2020-03-18 20:51:56 +00:00
parent a03262611b
commit 0db4525450

View File

@@ -69,7 +69,7 @@ void PICLI::parse() {
for (int j = 1; j < cra.length(); ++j) {
bool found = false;
piForeach (Argument & a, _args) {
if (a.short_key == cra[j]) {
if ((a.short_key != '\0') && (a.short_key == cra[j])) {
a.found = true;
last = &a;
found = true;