Commit 18524e90 authored by pdw's avatar pdw

0.10.

Added more helpful message on unrecognised options.
parent 8f92860b
Change log for iftop
$Id$
0.10
0.10 29/10/02
User selectable sort criteria
On-the-fly filter code changes
......@@ -9,6 +9,8 @@ Shell escape
Alternative resolver back-ends
Improved totals display
Added regexp based screen filtering
Fixed pause functionality
Change option names to be more like tcpdump
0.9 22/10/02
......
......@@ -5,7 +5,7 @@
# $Id$
#
VERSION = 0.10pre4
VERSION = 0.10
# C compiler to use.
#CC = gcc
......
......@@ -228,6 +228,10 @@ void options_read(int argc, char **argv) {
}
}
if (optind != argc)
fprintf(stderr, "iftop: warning: ignored arguments following options\n");
if (optind != argc) {
fprintf(stderr, "iftop: found arguments following options\n");
fprintf(stderr, "*** some options have changed names since v0.9 ***\n");
usage(stderr);
exit(1);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment