]> git.ipfire.org Git - thirdparty/lxc.git/commit
lxc-info: Rework based on mailinglist thread
authorStéphane Graber <stgraber@ubuntu.com>
Fri, 15 Nov 2013 20:14:00 +0000 (15:14 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Fri, 15 Nov 2013 21:06:49 +0000 (16:06 -0500)
commit5444216b7ee04a65679d9999d3933450bf817536
tree8a2bae3833f75bab4876975b01442251682519c0
parent4df7f012b9994ea54b1ad68176d8d45a57fa02f3
lxc-info: Rework based on mailinglist thread

So this implements the changes we discussed yesterday:
 - Only one container may be queried at the time
 - -n is now required once again
 - -H + a single filter only returns the value
 - -t/--is-state is now removed

Note that -S is considered as more than a single filter, so -H in that
case only affects the formatting of the values.

For the same reason, I haven't yet implemented the -H + multiple filters
case which we said should return a simple "key: value" output as it
wasn't trivial to re-arrange the stats code to print a different format
(for the other options, it's just a two lines change in the print
functions).

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Dwight Engen <dwight.engen@oracle.com>
doc/ja/lxc-info.sgml.in
doc/lxc-info.sgml.in
src/lxc/lxc-netstat.in
src/lxc/lxc-ps.in
src/lxc/lxc_info.c