Diff for libcfg+/src/cmdline.c between version 1.9 and 1.10
| version 1.9, 2001/12/01 01:27:47 |
version 1.10, 2001/12/02 23:28:35 |
| Line 214 static int cfg_cmdline_get_next_opt(cons |
|
| Line 214 static int cfg_cmdline_get_next_opt(cons |
|
| && !(con->cur_opt_type & CFG_SHORT_OPTIONS) |
&& !(con->cur_opt_type & CFG_SHORT_OPTIONS) |
| && !(con->cur_opt_type == CFG_NONE_OPTION)) |
&& !(con->cur_opt_type == CFG_NONE_OPTION)) |
| { |
{ |
| puts("[1] argument used, moving cur_idx"); |
/* puts("[1] argument used, moving cur_idx"); */ |
| con->cur_idx_tmp++; |
con->cur_idx_tmp++; |
| } |
} |
| |
|
| Line 223 static int cfg_cmdline_get_next_opt(cons |
|
| Line 223 static int cfg_cmdline_get_next_opt(cons |
|
| } |
} |
| |
|
| if (! (con->cur_opt_type & CFG_SHORT_OPTIONS)) { |
if (! (con->cur_opt_type & CFG_SHORT_OPTIONS)) { |
| puts("[2] moving cur_idx"); |
/* puts("[2] moving cur_idx"); */ |
| con->cur_idx_tmp++; |
con->cur_idx_tmp++; |
| } |
} |
| |
|
Platon Group <platon@platon.org> http://platon.org/
|
|