mirror_iproute2/ip/iplink_ifb.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
293 B
C

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