Commit 3a99df70 authored by Stephen Hemminger's avatar Stephen Hemminger

tc filter help should just print usage

Doing tc filter help should end argument processing.
This prevents extraneous messages.  Reported by Marcela Maslanova
parent bc7d1bd8
......@@ -121,6 +121,7 @@ int tc_filter_modify(int cmd, unsigned flags, int argc, char **argv)
return -1;
} else if (matches(*argv, "help") == 0) {
usage();
return 0;
} else {
strncpy(k, *argv, sizeof(k)-1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment