X-Git-Url: https://oss.titaniummirror.com/gitweb?a=blobdiff_plain;f=repo_shell.c;h=1361bf2e84e85960e3c44ac9ad095cb1394044dd;hb=9f6c7a2e41b4c2b63f76abd26a9da540b963c25b;hp=9d775593d7b3f039a0a62ddad71be41e0bd2f939;hpb=f2582fa1b78e219188a9fce96fa4b29dc4c34915;p=repo_shell.git diff --git a/repo_shell.c b/repo_shell.c index 9d77559..1361bf2 100644 --- a/repo_shell.c +++ b/repo_shell.c @@ -186,8 +186,7 @@ int main(int argc, char **argv) die("opening /dev/null failed"); close (devnull_fd); - if (argc == 2 && (!strcmp(argv[1], "-v") || - !strcmp(argv[1], "--version"))) { + if (argc == 2 && (!strcmp(argv[1], "-v") || !strcmp(argv[1], "--version"))) { fprintf(stderr, "%s\n", version); return 0; }