aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernd Eckenfels <net-tools@lina.inka.de>2003-05-28 19:41:16 +0000
committerBernd Eckenfels <net-tools@lina.inka.de>2003-05-28 19:41:16 +0000
commit2868186afd1bb78730ffd827d805416d80acf008 (patch)
treeb140769722b4e6ea091af8a397b261d733bfab76 /mii-tool.c
parentFix Debian Bug#178209, Fix RedHat Bug#85748: nameif segfaults (diff)
downloadnet-tools-2868186afd1bb78730ffd827d805416d80acf008.tar.gz
net-tools-2868186afd1bb78730ffd827d805416d80acf008.tar.bz2
net-tools-2868186afd1bb78730ffd827d805416d80acf008.zip
make it compile on stricter gcc3.3
Diffstat (limited to 'mii-tool.c')
-rw-r--r--mii-tool.c23
1 files changed, 11 insertions, 12 deletions
diff --git a/mii-tool.c b/mii-tool.c
index 7237ba9..622aa74 100644
--- a/mii-tool.c
+++ b/mii-tool.c
@@ -379,18 +379,17 @@ static void watch_one_xcvr(int skfd, char *ifname, int index)
/*--------------------------------------------------------------------*/
-const char *usage =
-"usage: %s [-VvRrwl] [-A media,... | -F media] [interface ...]
- -V, --version display version information
- -v, --verbose more verbose output
- -R, --reset reset MII to poweron state
- -r, --restart restart autonegotiation
- -w, --watch monitor for link status changes
- -l, --log with -w, write events to syslog
- -A, --advertise=media,... advertise only specified media
- -F, --force=media force specified media technology
-media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,
- (to advertise both HD and FD) 100baseTx, 10baseT\n";
+const char *usage = "usage: %s [-VvRrwl] [-A media,... | -F media] [interface ...]\n"
+" -V, --version display version information\n"
+" -v, --verbose more verbose output\n"
+" -R, --reset reset MII to poweron state\n"
+" -r, --restart restart autonegotiation\n"
+" -w, --watch monitor for link status changes\n"
+" -l, --log with -w, write events to syslog\n"
+" -A, --advertise=media,... advertise only specified media\n"
+" -F, --force=media force specified media technology\n"
+"media: 100baseT4, 100baseTx-FD, 100baseTx-HD, 10baseT-FD, 10baseT-HD,\n"
+" (to advertise both HD and FD) 100baseTx, 10baseT\n";
int main(int argc, char **argv)
{