diff --git a/common/utils/T/tracer/local.c b/common/utils/T/tracer/local.c index bc205d40d5f3d6868d64764786b8679608aa9c49..6c1368cc13cec596cbac7d6780179d7d84709934 100644 --- a/common/utils/T/tracer/local.c +++ b/common/utils/T/tracer/local.c @@ -115,7 +115,7 @@ int main(int n, char **v) for (i = 1; i < n; i++) { if (!strcmp(v[i], "-h") || !strcmp(v[i], "--help")) usage(); - if (!strcmp(v[i], "-l")) { if (i > n-3) usage(); + if (!strcmp(v[i], "-r")) { if (i > n-3) usage(); remote_ip = v[++i]; remote_port = atoi(v[++i]); continue; } printf("ERROR: unknown option %s\n", v[i]); usage();