[lxc-devel] [PATCH] fix lxc-attach usage
Dwight Engen
dwight.engen at oracle.com
Mon Apr 15 20:05:36 UTC 2013
This makes it match the manpage and be consistent with lxc-execute
Signed-off-by: Dwight Engen <dwight.engen at oracle.com>
---
src/lxc/lxc_attach.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lxc/lxc_attach.c b/src/lxc/lxc_attach.c
index 77039fb..e5619df 100644
--- a/src/lxc/lxc_attach.c
+++ b/src/lxc/lxc_attach.c
@@ -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\
--
1.7.12.3
More information about the lxc-devel
mailing list