From a372480c34ef5836806f5fea57e715ce3f9abbd5 Mon Sep 17 00:00:00 2001 From: Christian Brauner Date: Wed, 2 Mar 2016 14:14:06 +0100 Subject: [PATCH] lxc-copy: update help to include hook options Signed-off-by: Christian Brauner --- src/lxc/lxc_copy.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/lxc/lxc_copy.c b/src/lxc/lxc_copy.c index 003e8a1df..e424e6518 100644 --- a/src/lxc/lxc_copy.c +++ b/src/lxc/lxc_copy.c @@ -101,8 +101,8 @@ static char *const keys[] = { static struct lxc_arguments my_args = { .progname = "lxc-copy", .help = "\n\ ---name=NAME [-P lxcpath] -N newname [-p newpath] [-B backingstorage] [-s] [-K] [-M] [-L size [unit]]\n\ ---name=NAME [-P lxcpath] [-N newname] [-p newpath] [-B backingstorage] -e [-d] [-D] [-K] [-M] [-m {bind,aufs,overlay}=/src:/dest]\n\ +--name=NAME [-P lxcpath] -N newname [-p newpath] [-B backingstorage] [-s] [-K] [-M] [-L size [unit]] -- hook options\n\ +--name=NAME [-P lxcpath] [-N newname] [-p newpath] [-B backingstorage] -e [-d] [-D] [-K] [-M] [-m {bind,aufs,overlay}=/src:/dest] -- hook options\n\ --name=NAME [-P lxcpath] -N newname -R\n\ \n\ lxc-copy clone a container\n\ @@ -122,6 +122,7 @@ Options :\n\ -L, --fssize size of the new block device for block device containers\n\ -D, --keedata pass together with -e start a persistent snapshot \n\ -K, --keepname keep the hostname of the original container\n\ + -- hook options arguments passed to the hook program\n\ -M, --keepmac keep the MAC address of the original container\n", .options = my_longopts, .parser = my_parser, -- 2.47.2