Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Jan 2012 11:44:23 +0100
From:      Edward Tomasz =?utf-8?Q?Napiera=C5=82a?= <trasz@FreeBSD.org>
To:        freebsd-hackers@freebsd.org
Subject:   mdconfig(8) argument parsing.
Message-ID:  <20120125104423.GA52830@geosci>

next in thread | raw e-mail | index | archive | help
Patch below changes the way mdconfig(8) parses its arguments:
it removes the ordering requirement and makes error messages
more descriptive; it also makes the code more readable by
getting rid of the 'cmdline' variable.

Now, the mdconfig(8) syntax is somewhat weird, and I'm not sure
I tested all the ways people use it.  Thus, testing is welcome.

http://people.freebsd.org/~trasz/mdconfig-parsing.diff

-- 
If you cut off my head, what would I say?  Me and my head, or me and my body?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120125104423.GA52830>