What is the <target> parameter for this command?


in another question I was told to use lxc manpage to generate the manual. However, I tried this now with lxc manpage manpages, expecting - perhaps - a local folder of the name manpages to be created or lxc manpage -, expecting for it to be written to stdout, but none of these work.

$ lxc help manpage
  Generate manpages for all commands

  lxc manpage <target> [flags]

Global Flags:
      --debug         Show all debug messages
      --force-local   Force using the local unix socket
  -h, --help          Print help
  -v, --verbose       Show all information messages
      --version       Print version number

Thanks and best regards!

Looks like it expects an existing directory, . should work fine.

1 Like

Thanks, that worked. I only got the warning WARNING: go-md2man does not handle node type HTMLSpan on Ubuntu 18.04. But it worked.