Skip to content
Snippets Groups Projects
Commit 9617875d authored by Lubos Slovak's avatar Lubos Slovak
Browse files

Return values for knotd -V and knot-zcompile -V.

parent b41f4f52
No related branches found
No related tags found
No related merge requests found
......@@ -76,7 +76,7 @@ int main(int argc, char **argv)
PROJECT_VER >> 16 & 0x000000ff,
PROJECT_VER >> 8 & 0x000000ff,
PROJECT_VER >> 0 & 0x000000ff);
return 1;
return 0;
case 'h':
case '?':
default:
......
......@@ -45,7 +45,7 @@ int main(int argc, char **argv)
PROJECT_VER >> 16 & 0x000000ff,
PROJECT_VER >> 8 & 0x000000ff,
PROJECT_VER >> 0 & 0x000000ff);
return 1;
return 0;
case 's':
semantic_checks = 1;
break;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment