From 4759758c05b3bda53b743a1c3238f1479bb61b43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?YOSHIFUJI=20Hideaki=20/=20=E5=90=89=E8=97=A4=E8=8B=B1?= =?UTF-8?q?=E6=98=8E?= Date: Thu, 14 Feb 2008 03:20:12 +1100 Subject: Add addrlabel sub-command. Signed-off-by: YOSHIFUJI Hideaki Signed-off-by: Stephen Hemminger --- ip/ip.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ip/ip.c') diff --git a/ip/ip.c b/ip/ip.c index aeb8c68c..c4c773fb 100644 --- a/ip/ip.c +++ b/ip/ip.c @@ -46,8 +46,8 @@ static void usage(void) fprintf(stderr, "Usage: ip [ OPTIONS ] OBJECT { COMMAND | help }\n" " ip [ -force ] [-batch filename\n" -"where OBJECT := { link | addr | route | rule | neigh | ntable | tunnel |\n" -" maddr | mroute | monitor | xfrm }\n" +"where OBJECT := { link | addr | addrlabel | route | rule | neigh | ntable |\n" +" tunnel | maddr | mroute | monitor | xfrm }\n" " OPTIONS := { -V[ersion] | -s[tatistics] | -d[etails] | -r[esolve] |\n" " -f[amily] { inet | inet6 | ipx | dnet | link } |\n" " -o[neline] | -t[imestamp] }\n"); @@ -64,6 +64,7 @@ static const struct cmd { int (*func)(int argc, char **argv); } cmds[] = { { "address", do_ipaddr }, + { "addrlabel", do_ipaddrlabel }, { "maddress", do_multiaddr }, { "route", do_iproute }, { "rule", do_iprule }, -- cgit v1.2.3