Skip to content
Snippets Groups Projects
Commit d5ac06dc authored by Wesley W. Terpstra's avatar Wesley W. Terpstra
Browse files

Oops. Wrong number of args

parent 57fe9396
Branches
Tags
No related merge requests found
...@@ -261,7 +261,7 @@ int main(int argc, char** argv) { ...@@ -261,7 +261,7 @@ int main(int argc, char** argv) {
if (error) return 1; if (error) return 1;
if (optind + 2 != argc) { if (optind + 1 != argc) {
fprintf(stderr, "%s: expecting non-optional argument: <protocol/host/port>\n", program); fprintf(stderr, "%s: expecting non-optional argument: <protocol/host/port>\n", program);
return 1; return 1;
} }
......
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