diff --git a/doc/lxc-ps.sgml.in b/doc/lxc-ps.sgml.in
index f3275aeb1..401a17c30 100644
--- a/doc/lxc-ps.sgml.in
+++ b/doc/lxc-ps.sgml.in
@@ -51,7 +51,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
lxc-ps
--name name
--lxc
- ps option
+ -- ps option
@@ -81,7 +81,7 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
-
+
diff --git a/src/lxc/lxc-ps.in b/src/lxc/lxc-ps.in
index a9923f06b..4180aae54 100644
--- a/src/lxc/lxc-ps.in
+++ b/src/lxc/lxc-ps.in
@@ -74,9 +74,9 @@ containers=""
list_container_processes=0
for i in "$@"; do
case $i in
- --help)
+ -h|--help)
help; exit 1;;
- --name)
+ -n|--name)
containers=$2; list_container_processes=1; shift 2;;
--lxc)
list_container_processes=1; shift;;