git-svn-id: svn://db.shs.com.ru/pip@957 12ceb7fc-bf1f-11e4-8940-5bc7170c53b5
This commit is contained in:
@@ -69,7 +69,7 @@ void PICLI::parse() {
|
|||||||
for (int j = 1; j < cra.length(); ++j) {
|
for (int j = 1; j < cra.length(); ++j) {
|
||||||
bool found = false;
|
bool found = false;
|
||||||
piForeach (Argument & a, _args) {
|
piForeach (Argument & a, _args) {
|
||||||
if (a.short_key == cra[j]) {
|
if ((a.short_key != '\0') && (a.short_key == cra[j])) {
|
||||||
a.found = true;
|
a.found = true;
|
||||||
last = &a;
|
last = &a;
|
||||||
found = true;
|
found = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user