mirror of
https://git.proxmox.com/git/mirror_iproute2
synced 2025-10-10 01:41:40 +00:00

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>
26 lines
525 B
C
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,
|
|
};
|