Skip to content
Snippets Groups Projects
Commit 3aac3d53 authored by Sam Yates's avatar Sam Yates Committed by GitHub
Browse files

Merge pull request #43 from bcumming/miniapp

rename cl_options.check -> check_and_normalize
parents 73c4e289 82014283
No related branches found
No related tags found
No related merge requests found
...@@ -69,7 +69,7 @@ cl_options read_options(int argc, char** argv) { ...@@ -69,7 +69,7 @@ cl_options read_options(int argc, char** argv) {
} }
if(options.ifname == "") { if(options.ifname == "") {
options.check(); options.check_and_normalize();
return options; return options;
} }
else { else {
...@@ -98,7 +98,7 @@ cl_options read_options(int argc, char** argv) { ...@@ -98,7 +98,7 @@ cl_options read_options(int argc, char** argv) {
<< options.ifname << "\n"; << options.ifname << "\n";
exit(1); exit(1);
} }
options.check(); options.check_and_normalize();
return options; return options;
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment