]> git.ipfire.org Git - thirdparty/lxc.git/commit
Remove lxc-version, lxc-ps and lxc-netstat
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 21 Jan 2014 17:16:04 +0000 (12:16 -0500)
committerStéphane Graber <stgraber@ubuntu.com>
Wed, 22 Jan 2014 18:38:46 +0000 (13:38 -0500)
commit7f12cae956c003445e6ee182b414617b52532af6
tree2a9912f275f0998fe1f011ba935bde06b7ec3153
parent0306de4f280adc0cd5faa3cd365c584d61c9e383
Remove lxc-version, lxc-ps and lxc-netstat

lxc-ps and lxc-netstat have an unfortunate tendency to break every so
often, produce mostly unreadable output and should be replaced by a
lxc-attach call in 99% of the cases.

In an effort to cleanup the lxc-* namespace, I think those two should
go, so this patch gets rid of them as well as any reference to them in
our documentation.

I also think that lxc-version should disappear as it's only a one line
shell script printing the version string, so having a whole command just
for that seems to be a bit of a waste.

Instead, this patch introduces a new --version common option which all
binaries will automatically inherit and that'll print LXC_VERSION on
stdout and exit 0.

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
20 files changed:
.gitignore
configure.ac
doc/Makefile.am
doc/ja/Makefile.am
doc/ja/lxc-netstat.sgml.in [deleted file]
doc/ja/lxc-ps.sgml.in [deleted file]
doc/ja/lxc-version.sgml.in [deleted file]
doc/ja/lxc.sgml.in
doc/ja/see_also.sgml.in
doc/lxc-netstat.sgml.in [deleted file]
doc/lxc-ps.sgml.in [deleted file]
doc/lxc-version.sgml.in [deleted file]
doc/lxc.sgml.in
doc/see_also.sgml.in
src/lxc/Makefile.am
src/lxc/arguments.c
src/lxc/arguments.h
src/lxc/lxc-netstat.in [deleted file]
src/lxc/lxc-ps.in [deleted file]
src/lxc/lxc-version.in [deleted file]