Skip to content
Snippets Groups Projects
Commit c06322df authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

fix array search

parent 8b61f655
No related branches found
No related tags found
No related merge requests found
......@@ -212,7 +212,7 @@ int main(int argc, char const *const *argv)
argc -= l.ind ; argv += l.ind ;
}
if (!strcmp(argv[1], "version")) {
if (!strcmp(argv[0], "version")) {
PROG = "version" ;
log_info(SS_VERSION) ;
......
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