mirror_iproute2/ip/iplink_vcan.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
298 B
C

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