1
Description: support '-n name' and '-- ps-options'
2
This is more consistent with other lxc commands
3
Author: Serge Hallyn <serge.hallyn@canonical.com>
4
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/820720
6
Index: ephemeral/src/lxc/lxc-ps.in
7
===================================================================
8
--- ephemeral.orig/src/lxc/lxc-ps.in 2011-08-03 22:28:39.854937920 -0500
9
+++ ephemeral/src/lxc/lxc-ps.in 2011-08-03 22:29:35.995216226 -0500
14
-Usage: lxc-ps [--help] [--usage] [--name NAME...] [--lxc] [ps options]
15
+Usage: lxc-ps [--help] [--usage] [-n|--name NAME...] [--lxc] [-- ps options]
23
-use Getopt::Long qw(:config no_auto_abbrev pass_through);
24
+use Getopt::Long qw(:config pass_through);
29
if ($arg_help) {display_help; exit 0;}
30
if ($arg_usage) {display_usage; exit 0;}
32
+if ($ARGV[0] == '--') {
36
# Should we filter processes related to containers