]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
fix lxc-attach usage
authorDwight Engen <dwight.engen@oracle.com>
Mon, 15 Apr 2013 20:05:36 +0000 (16:05 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 16 Apr 2013 10:12:23 +0000 (12:12 +0200)
This makes it match the manpage and be consistent with lxc-execute

Signed-off-by: Dwight Engen <dwight.engen@oracle.com>
Acked-by: Serge E. Hallyn <serge.hallyn@ubuntu.com>
src/lxc/lxc_attach.c

index 77039fbea39b95021e0611f32593b2de7f8cef47..e5619df4006c8da69fe529a137cc4cd3a16807dd 100644 (file)
@@ -103,9 +103,9 @@ static int my_parser(struct lxc_arguments* args, int c, char* arg)
 static struct lxc_arguments my_args = {
        .progname = "lxc-attach",
        .help     = "\
---name=NAME\n\
+--name=NAME [-- COMMAND]\n\
 \n\
-Execute the specified command - enter the container NAME\n\
+Execute the specified COMMAND - enter the container NAME\n\
 \n\
 Options :\n\
   -n, --name=NAME   NAME for name of the container\n\