[lxc-devel] [lxc/lxc] 474aaa: lxc-info: Rework based on mailinglist thread
GitHub
noreply at github.com
Fri Nov 15 21:08:47 UTC 2013
Branch: refs/heads/stgraber/master
Home: https://github.com/lxc/lxc
Commit: 474aaa9a458a25cbcd463051273d111595cac788
https://github.com/lxc/lxc/commit/474aaa9a458a25cbcd463051273d111595cac788
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>
More information about the lxc-devel
mailing list