0.10.
Added more helpful message on unrecognised options.
This commit is contained in:
4
CHANGES
4
CHANGES
@@ -1,7 +1,7 @@
|
|||||||
Change log for iftop
|
Change log for iftop
|
||||||
$Id$
|
$Id$
|
||||||
|
|
||||||
0.10
|
0.10 29/10/02
|
||||||
|
|
||||||
User selectable sort criteria
|
User selectable sort criteria
|
||||||
On-the-fly filter code changes
|
On-the-fly filter code changes
|
||||||
@@ -9,6 +9,8 @@ Shell escape
|
|||||||
Alternative resolver back-ends
|
Alternative resolver back-ends
|
||||||
Improved totals display
|
Improved totals display
|
||||||
Added regexp based screen filtering
|
Added regexp based screen filtering
|
||||||
|
Fixed pause functionality
|
||||||
|
Change option names to be more like tcpdump
|
||||||
|
|
||||||
0.9 22/10/02
|
0.9 22/10/02
|
||||||
|
|
||||||
|
|||||||
2
Makefile
2
Makefile
@@ -5,7 +5,7 @@
|
|||||||
# $Id$
|
# $Id$
|
||||||
#
|
#
|
||||||
|
|
||||||
VERSION = 0.10pre4
|
VERSION = 0.10
|
||||||
|
|
||||||
# C compiler to use.
|
# C compiler to use.
|
||||||
#CC = gcc
|
#CC = gcc
|
||||||
|
|||||||
@@ -228,6 +228,10 @@ void options_read(int argc, char **argv) {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (optind != argc)
|
if (optind != argc) {
|
||||||
fprintf(stderr, "iftop: warning: ignored arguments following options\n");
|
fprintf(stderr, "iftop: found arguments following options\n");
|
||||||
|
fprintf(stderr, "*** some options have changed names since v0.9 ***\n");
|
||||||
|
usage(stderr);
|
||||||
|
exit(1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user