diff options
author | Bernd Eckenfels <net-tools@lina.inka.de> | 2003-05-28 19:41:16 +0000 |
---|---|---|
committer | Bernd Eckenfels <net-tools@lina.inka.de> | 2003-05-28 19:41:16 +0000 |
commit | 2868186afd1bb78730ffd827d805416d80acf008 (patch) | |
tree | b140769722b4e6ea091af8a397b261d733bfab76 /mii-tool.c | |
parent | Fix Debian Bug#178209, Fix RedHat Bug#85748: nameif segfaults (diff) | |
download | net-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.c | 23 |
1 files changed, 11 insertions, 12 deletions
@@ -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) { |