[examples] Fix: -p option processing;
This commit is contained in:
parent
2b146cfb11
commit
5cdf476b33
@ -281,7 +281,7 @@ int main(int argc, char **argv)
|
|||||||
{ NULL, 0, NULL, 0 },
|
{ NULL, 0, NULL, 0 },
|
||||||
};
|
};
|
||||||
|
|
||||||
if((opt = getopt_long(argc, argv, "hvr:m:", long_options,
|
if((opt = getopt_long(argc, argv, "hvr:m:p:", long_options,
|
||||||
&option_index)) == -1) break;
|
&option_index)) == -1) break;
|
||||||
|
|
||||||
switch(opt) {
|
switch(opt) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user