James Antill wrote:
On Tue, 2007-12-04 at 10:52 -0500, Michael DeHaan wrote:
James Antill wrote:
Well there's a _lot_ of info. that is returned by "show hardware" that
isn't one of the three options it currently has. Maybe changing the
interface to:
func '*' show hardware os
func '*' show hardware systemMemory
func '*' show hardware systemSwap
...etc. to get specific information, if you want I can do a patch for
that today?
If you like, sure!
Here you go, I also changed the func.pod but obviously the Wiki is
still wrong, usage is:
func * show hardware
func * show hardware systemMemory
func * show hardware os selinux_enabled selinux_enforce blah
...note that "blah" is just ignored.
Applied, thanks!
I like how this generalizes everything and we don't have to maintain the
options for each "show" subcommand now. This will be included in the
next release (out shortly).
--Michael