mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 11:13:50 +00:00
Allow short -h and -n options to lxc-ps
Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
This commit is contained in:
parent
c6ed4d048d
commit
c12e775237
@ -51,7 +51,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
<command>lxc-ps</command>
|
<command>lxc-ps</command>
|
||||||
<arg choice="opt">--name <replaceable>name</replaceable></arg>
|
<arg choice="opt">--name <replaceable>name</replaceable></arg>
|
||||||
<arg choice="opt">--lxc</arg>
|
<arg choice="opt">--lxc</arg>
|
||||||
<arg choice="opt">ps option</arg>
|
<arg choice="opt">-- ps option</arg>
|
||||||
</cmdsynopsis>
|
</cmdsynopsis>
|
||||||
</refsynopsisdiv>
|
</refsynopsisdiv>
|
||||||
|
|
||||||
@ -81,7 +81,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
|
|||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term>
|
<term>
|
||||||
<option>--name <replaceable>name</replaceable></option>
|
<option>-n, --name <replaceable>name</replaceable></option>
|
||||||
</term>
|
</term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<para>
|
<para>
|
||||||
|
@ -74,9 +74,9 @@ containers=""
|
|||||||
list_container_processes=0
|
list_container_processes=0
|
||||||
for i in "$@"; do
|
for i in "$@"; do
|
||||||
case $i in
|
case $i in
|
||||||
--help)
|
-h|--help)
|
||||||
help; exit 1;;
|
help; exit 1;;
|
||||||
--name)
|
-n|--name)
|
||||||
containers=$2; list_container_processes=1; shift 2;;
|
containers=$2; list_container_processes=1; shift 2;;
|
||||||
--lxc)
|
--lxc)
|
||||||
list_container_processes=1; shift;;
|
list_container_processes=1; shift;;
|
||||||
|
Loading…
Reference in New Issue
Block a user