aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--utils/find_roa/find_roa.c2
-rw-r--r--utils/hashdir/hashdir.c2
-rw-r--r--utils/scan_roas/scan_roas.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/utils/find_roa/find_roa.c b/utils/find_roa/find_roa.c
index cc6325ea..a14242c8 100644
--- a/utils/find_roa/find_roa.c
+++ b/utils/find_roa/find_roa.c
@@ -302,7 +302,7 @@ int main (int argc, char *argv[])
char *s = NULL, *p = NULL;
int i, len, ret = 1;
- if (argc == 2 && (strcmp(argv[1], "-h") || strcmp(argv[1], "--help")))
+ if (argc == 2 && (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")))
usage(argv[0], 0);
if (argc < 3)
diff --git a/utils/hashdir/hashdir.c b/utils/hashdir/hashdir.c
index bd9d06a8..6de778b5 100644
--- a/utils/hashdir/hashdir.c
+++ b/utils/hashdir/hashdir.c
@@ -206,7 +206,7 @@ static void usage (const char *jane, const int code)
int main(int argc, char *argv[])
{
- if (argc == 2 && (strcmp(argv[1], "-h") || strcmp(argv[1], "--help")))
+ if (argc == 2 && (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")))
usage(argv[0], 0);
if (argc != 3)
diff --git a/utils/scan_roas/scan_roas.c b/utils/scan_roas/scan_roas.c
index 5bc19063..fc883bf6 100644
--- a/utils/scan_roas/scan_roas.c
+++ b/utils/scan_roas/scan_roas.c
@@ -288,7 +288,7 @@ int main (int argc, char *argv[])
{
int i, ok = 1;
- if (argc == 2 && (strcmp(argv[1], "-h") || strcmp(argv[1], "--help")))
+ if (argc == 2 && (!strcmp(argv[1], "-h") || !strcmp(argv[1], "--help")))
usage(argv[0], 0);
if (argc < 2)