On Thu, 2010-07-22 at 19:06 -0500, Chris Adams wrote:
Once upon a time, Lennart Poettering <mzerqung(a)0pointer.de>
said:
> Same with systemd. If you use "systemctl status foo.service" the output
> is human readable. If it is "systemctl show foo.service" it is computer
> parsable. Just a slightly different command of the systemctl tool.
Again: this is confusing! There should be one (and only one) command to
show information. It should accept arguments to modify that output,
e.g. default to brief info, -v gets a little more info, -vv gets all
kinds of info, -p to get "parseable" output (or -f for "formatted"),
etc.
Having "status" and "show" give the same info in different formats
will
always be confusing. People won't remember which is which (because the
works mean similar things in this context) and will run the wrong one
for what they want about 50% of the time (which will just be
frustrating).
I agree with Chris here, I find the 'one command, with modifying
parameters' paradigm much the easiest to follow.
--
Adam Williamson
Fedora QA Community Monkey
IRC: adamw | Fedora Talk: adamwill AT fedoraproject DOT org
http://www.happyassassin.net