mirror_iproute2/ip/iplink_team.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

26 lines
525 B
C

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