diff --git a/src/intcmp.c b/src/intcmp.c index 7673944..f990a10 100644 --- a/src/intcmp.c +++ b/src/intcmp.c @@ -47,7 +47,7 @@ int main(int argc, char *argv[]) { mode = 0; - if (argc == 0 | argc < 3) { return usage(program_name); } + if (argc == 0) { return usage(program_name); } while ((c = getopt(argc, argv, "egl")) != -1) { switch (c) { @@ -68,7 +68,10 @@ int main(int argc, char *argv[]) { if (*argv[i] != '\0' || errno != 0) { fprintf( - stderr, "%s: argument #%d: Invalid integer\n", program_name, (int)i + stderr, + "%s: argument #%d: Invalid integer\n", + program_name, + (int)i ); return EX_USAGE; }