Date: Sat, 3 May 1997 23:14:48 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.ORG> To: CVS-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sbin@FreeBSD.ORG Subject: cvs commit: src/sbin/ifconfig ifconfig.c Message-ID: <199705040614.XAA28338@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 97/05/03 23:14:47 Modified: sbin/ifconfig ifconfig.c Log: 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. Revision Changes Path 1.26 +172 -104 src/sbin/ifconfig/ifconfig.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705040614.XAA28338>