freebsd-dev/sbin/ifconfig
Peter Wemm ed055a8342 Second try at cleanups and fixes (without if_media stuff for the moment)
- parse command options using getopt for consistancy
- sanitise the command parsing so that it's less like spaghetti
- implement a "-l" option (idea from NetBSD - just list names)
- attempt to clean up the sysctl parsing loop some more.  It still needs
  to be taken out the back and shot though.
- cut down on global usage, but there's a lot more scope for this.
- make usage string a bit closer to reality (it was missing lots of things)

Unfortunately, I did this for the second time but with the memory of
the NetBSD version still recently in my mind.  It's hard to redo simple
changes or getopt stuff without making it look like what you've been
working with a few hours ago.
1997-05-04 06:14:47 +00:00
..
ifconfig.8 Grab some of the NetBSD text for describing the new options and the 1997-05-03 23:03:56 +00:00
ifconfig.c Second try at cleanups and fixes (without if_media stuff for the moment) 1997-05-04 06:14:47 +00:00
Makefile Revert $FreeBSD$ to $Id$ 1997-02-22 14:40:44 +00:00