The following pull request was submitted through Github. It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/7774
This e-mail was sent by the LXC bot, direct replies will not reach the author unless they happen to be subscribed to this list. === Description (from pull-request) === Signed-off-by: Stéphane Graber <stgra...@ubuntu.com>
From 5c1f5b5355c30c571ce767ebce4fc216416a0ac9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgra...@ubuntu.com> Date: Thu, 13 Aug 2020 17:53:12 -0400 Subject: [PATCH] lxc/manpage: Fix behavior in snap MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber <stgra...@ubuntu.com> --- lxc/manpage.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lxc/manpage.go b/lxc/manpage.go index 8640d2a0a6..1b309fd2e8 100644 --- a/lxc/manpage.go +++ b/lxc/manpage.go @@ -4,6 +4,7 @@ import ( "github.com/spf13/cobra" "github.com/spf13/cobra/doc" + "github.com/lxc/lxd/shared" cli "github.com/lxc/lxd/shared/cmd" "github.com/lxc/lxd/shared/i18n" ) @@ -40,7 +41,7 @@ func (c *cmdManpage) Run(cmd *cobra.Command, args []string) error { opts := doc.GenManTreeOptions{ Header: header, - Path: args[0], + Path: shared.HostPath(args[0]), CommandSeparator: ".", }
_______________________________________________ lxc-devel mailing list lxc-devel@lists.linuxcontainers.org http://lists.linuxcontainers.org/listinfo/lxc-devel