summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tools/oping/oping.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/oping/oping.c b/src/tools/oping/oping.c
index c49688b0..1e98cd3c 100644
--- a/src/tools/oping/oping.c
+++ b/src/tools/oping/oping.c
@@ -178,7 +178,7 @@ int main(int argc,
client.interval *= time_mul(rem);
--argc;
} else if (strcmp(*argv, "-n") == 0 ||
- strcmp(*argv, "--server_name") == 0) {
+ strcmp(*argv, "--server-name") == 0) {
client.s_apn = *(++argv);
--argc;
} else if (strcmp(*argv, "-c") == 0 ||