mirror_iproute2/ip/iplink_nlmon.c
Phil Sutter 9fd7b86c2d ip: link: Add missing link type help texts
These are basically stubs: The types which lacked their own help text
simply don't accept any options (yet). Still it might be a bit confusing
to users if they are presented with the generic 'ip link' help text
instead of something saying there are no type specific options.

Signed-off-by: Phil Sutter <phil@nwl.cc>
2017-04-04 14:51:29 -07:00

17 lines
303 B
C

#include <stdio.h>
#include <stdlib.h>
#include "utils.h"
#include "ip_common.h"
static void nlmon_print_help(struct link_util *lu,
int argc, char **argv, FILE *f)
{
fprintf(f, "Usage: ... nlmon\n");
}
struct link_util nlmon_link_util = {
.id = "nlmon",
.print_help = nlmon_print_help,
};