1 --- net-tools-1.60/mii-tool.c~ Sun May 21 14:31:17 2000
2 +++ net-tools-1.60/mii-tool.c Sat Jun 28 12:25:09 2003
5 /*--------------------------------------------------------------------*/
8 -"usage: %s [-VvRrwl] [-A media,... | -F media] [interface ...]
9 - -V, --version display version information
10 - -v, --verbose more verbose output
11 - -R, --reset reset MII to poweron state
12 - -r, --restart restart autonegotiation
13 - -w, --watch monitor for link status changes
14 - -l, --log with -w, write events to syslog
15 - -A, --advertise=media,... advertise only specified media
16 - -F, --force=media force specified media technology
17 -media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
18 - (to advertise both HD and FD) 100baseTx, 10baseT\n";
19 +const char *usage = "usage: %s [-VvRrwl] [-A media,... | -F media] [interface ...]\n"
20 +" -V, --version display version information\n"
21 +" -v, --verbose more verbose output\n"
22 +" -R, --reset reset MII to poweron state\n"
23 +" -r, --restart restart autonegotiation\n"
24 +" -w, --watch monitor for link status changes\n"
25 +" -l, --log with -w, write events to syslog\n"
26 +" -A, --advertise=media,... advertise only specified media\n"
27 +" -F, --force=media force specified media technology\n"
28 +"media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,\n"
29 +" (to advertise both HD and FD) 100baseTx, 10baseT\n";
31 int main(int argc, char **argv)