[lxc-devel] [lxc/lxc] 544421: lxc-info: Rework based on mailinglist thread
GitHub
noreply at github.com
Fri Nov 15 21:07:07 UTC 2013
Branch: refs/heads/master
Home: https://github.com/lxc/lxc
Commit: 5444216b7ee04a65679d9999d3933450bf817536
https://github.com/lxc/lxc/commit/5444216b7ee04a65679d9999d3933450bf817536
Author: Stéphane Graber <stgraber at ubuntu.com>
Date: 2013-11-15 (Fri, 15 Nov 2013)
Changed paths:
M doc/ja/lxc-info.sgml.in
M doc/lxc-info.sgml.in
M src/lxc/lxc-netstat.in
M src/lxc/lxc-ps.in
M src/lxc/lxc_info.c
Log Message:
-----------
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 at ubuntu.com>
Acked-by: Dwight Engen <dwight.engen at oracle.com>
More information about the lxc-devel
mailing list