Skip to content

Commit

Permalink
Merge pull request #2744 from adamkasztenny/patch-1
Browse files Browse the repository at this point in the history
Add template-options to help output
  • Loading branch information
brauner committed Jan 27, 2019
2 parents 51db004 + 0e40f65 commit 3309e10
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lxc/tools/lxc_create.c
Expand Up @@ -62,7 +62,7 @@ static struct lxc_arguments my_args = {
.progname = "lxc-create",
.helpfn = create_helpfn,
.help = "\
--name=NAME --template=TEMPLATE [OPTION...]\n\
--name=NAME --template=TEMPLATE [OPTION...] [-- template-options]\n\
\n\
lxc-create creates a container\n\
\n\
Expand Down Expand Up @@ -96,7 +96,11 @@ Options :\n\
(Default: ext4)\n\
--fssize=SIZE[U] Create filesystem of\n\
size SIZE * unit U (bBkKmMgGtT)\n\
(Default: 1G, default unit: M)\n",
(Default: 1G, default unit: M)\n\
-- template-options\n\
This will pass template-options to the template as arguments.\n\
To see the list of options supported by the template,\n\
you can run lxc-create -t TEMPLATE -h.\n",
.options = my_longopts,
.parser = my_parser,
.checker = NULL,
Expand Down

0 comments on commit 3309e10

Please sign in to comment.