ip xfrm: Allow to specify "all" option for monitor

Just to be aligned with the usage output.

Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
This commit is contained in:
Vadim Kochan 2015-02-14 19:45:04 +02:00 committed by Stephen Hemminger
parent a221d621bb
commit 5bf9f5c5a0
1 changed files with 1 additions and 1 deletions

View File

@ -374,7 +374,7 @@ int do_xfrm_monitor(int argc, char **argv)
groups = 0;
} else if (matches(*argv, "help") == 0) {
usage();
} else {
} else if (strcmp(*argv, "all")) {
fprintf(stderr, "Argument \"%s\" is unknown, try \"ip xfrm monitor help\".\n", *argv);
exit(-1);
}