[lxc-devel] [lxd/master] Add manpage generation to lxc and lxd

stgraber on Github lxc-bot at linuxcontainers.org
Thu Mar 29 18:54:54 UTC 2018


A non-text attachment was scrubbed...
Name: not available
Type: text/x-mailbox
Size: 301 bytes
Desc: not available
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20180329/e678b18e/attachment.bin>
-------------- next part --------------
From 9868b5d5abd64f26a322c49ac610becb94e3f2bd Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 29 Mar 2018 14:34:40 -0400
Subject: [PATCH 1/3] lxc/manpage: Add manpage generation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 lxc/main.go    |  7 ++++++-
 lxc/manpage.go | 43 +++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+), 1 deletion(-)
 create mode 100644 lxc/manpage.go

diff --git a/lxc/main.go b/lxc/main.go
index 99952246e..1ba3fffad 100644
--- a/lxc/main.go
+++ b/lxc/main.go
@@ -25,6 +25,7 @@ import (
 type cmdGlobal struct {
 	conf     *config.Config
 	confPath string
+	cmd      *cobra.Command
 
 	flagForceLocal bool
 	flagHelp       bool
@@ -50,7 +51,7 @@ For help with any of those, simply call them with --help.`))
 	app.SilenceUsage = true
 
 	// Global flags
-	globalCmd := cmdGlobal{}
+	globalCmd := cmdGlobal{cmd: app}
 	app.PersistentFlags().BoolVar(&globalCmd.flagVersion, "version", false, i18n.G("Print version number"))
 	app.PersistentFlags().BoolVarP(&globalCmd.flagHelp, "help", "h", false, i18n.G("Print help"))
 	app.PersistentFlags().BoolVar(&globalCmd.flagForceLocal, "force-local", false, i18n.G("Force using the local unix socket"))
@@ -120,6 +121,10 @@ For help with any of those, simply call them with --help.`))
 	listCmd := cmdList{global: &globalCmd}
 	app.AddCommand(listCmd.Command())
 
+	// manpage sub-command
+	manpageCmd := cmdManpage{global: &globalCmd}
+	app.AddCommand(manpageCmd.Command())
+
 	// monitor sub-command
 	monitorCmd := cmdMonitor{global: &globalCmd}
 	app.AddCommand(monitorCmd.Command())
diff --git a/lxc/manpage.go b/lxc/manpage.go
new file mode 100644
index 000000000..5f277a263
--- /dev/null
+++ b/lxc/manpage.go
@@ -0,0 +1,43 @@
+package main
+
+import (
+	"github.com/spf13/cobra"
+	"github.com/spf13/cobra/doc"
+
+	cli "github.com/lxc/lxd/shared/cmd"
+	"github.com/lxc/lxd/shared/i18n"
+)
+
+type cmdManpage struct {
+	global *cmdGlobal
+}
+
+func (c *cmdManpage) Command() *cobra.Command {
+	cmd := &cobra.Command{}
+	cmd.Use = i18n.G("manpage <target>")
+	cmd.Short = i18n.G("Generate manpages for all commands")
+	cmd.Long = cli.FormatSection(i18n.G("Description"), i18n.G(
+		`Generate manpages for all commands`))
+	cmd.Hidden = true
+
+	cmd.RunE = c.Run
+
+	return cmd
+}
+
+func (c *cmdManpage) Run(cmd *cobra.Command, args []string) error {
+	// Sanity checks
+	exit, err := c.global.CheckArgs(cmd, args, 1, 1)
+	if exit {
+		return err
+	}
+
+	// Generate the manpages
+	header := &doc.GenManHeader{
+		Title:   i18n.G("LXD - Command line client"),
+		Section: "1",
+	}
+	doc.GenManTree(c.global.cmd, header, args[0])
+
+	return nil
+}

From cda316c86d97c9feea551ce62284a170c165b5bc Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 29 Mar 2018 14:51:49 -0400
Subject: [PATCH 2/3] lxd/manpage: Add manpage generation
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 lxd/main.go         |  8 +++++++-
 lxd/main_manpage.go | 49 +++++++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100644 lxd/main_manpage.go

diff --git a/lxd/main.go b/lxd/main.go
index 64db8d036..8501dbc6a 100644
--- a/lxd/main.go
+++ b/lxd/main.go
@@ -22,6 +22,8 @@ func init() {
 }
 
 type cmdGlobal struct {
+	cmd *cobra.Command
+
 	flagHelp    bool
 	flagVersion bool
 
@@ -63,7 +65,7 @@ func main() {
 	app.Args = cobra.ArbitraryArgs
 
 	// Global flags
-	globalCmd := cmdGlobal{}
+	globalCmd := cmdGlobal{cmd: app}
 	daemonCmd.global = &globalCmd
 	app.PersistentPreRunE = globalCmd.Run
 	app.PersistentFlags().BoolVar(&globalCmd.flagVersion, "version", false, "Print version number")
@@ -125,6 +127,10 @@ func main() {
 	initCmd := cmdInit{global: &globalCmd}
 	app.AddCommand(initCmd.Command())
 
+	// manpage sub-command
+	manpageCmd := cmdManpage{global: &globalCmd}
+	app.AddCommand(manpageCmd.Command())
+
 	// migratedumpsuccess sub-command
 	migratedumpsuccessCmd := cmdMigratedumpsuccess{global: &globalCmd}
 	app.AddCommand(migratedumpsuccessCmd.Command())
diff --git a/lxd/main_manpage.go b/lxd/main_manpage.go
new file mode 100644
index 000000000..ab2800a8a
--- /dev/null
+++ b/lxd/main_manpage.go
@@ -0,0 +1,49 @@
+package main
+
+import (
+	"fmt"
+
+	"github.com/spf13/cobra"
+	"github.com/spf13/cobra/doc"
+
+	cli "github.com/lxc/lxd/shared/cmd"
+)
+
+type cmdManpage struct {
+	global *cmdGlobal
+}
+
+func (c *cmdManpage) Command() *cobra.Command {
+	cmd := &cobra.Command{}
+	cmd.Use = "manpage <target>"
+	cmd.Short = "Generate manpages for all commands"
+	cmd.Long = cli.FormatSection("Description",
+		`Generate manpages for all commands`)
+	cmd.Hidden = true
+
+	cmd.RunE = c.Run
+
+	return cmd
+}
+
+func (c *cmdManpage) Run(cmd *cobra.Command, args []string) error {
+	// Sanity checks
+	if len(args) != 1 {
+		cmd.Help()
+
+		if len(args) == 0 {
+			return nil
+		}
+
+		return fmt.Errorf("Missing required arguments")
+	}
+
+	// Generate the manpages
+	header := &doc.GenManHeader{
+		Title:   "LXD - Container server",
+		Section: "1",
+	}
+	doc.GenManTree(c.global.cmd, header, args[0])
+
+	return nil
+}

From ee6e79375a55c02406cac367b110bfd32373ac4b Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 29 Mar 2018 14:34:58 -0400
Subject: [PATCH 3/3] i18n: Update translation templates
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 po/de.po      | 85 ++++++++++++++++++++++++++++++++++-------------------------
 po/el.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/es.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/fi.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/fr.po      | 85 ++++++++++++++++++++++++++++++++++-------------------------
 po/hi.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/id.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/it.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/ja.po      | 85 ++++++++++++++++++++++++++++++++++-------------------------
 po/lxd.pot    | 38 +++++++++++++++++---------
 po/nb_NO.po   | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/nl.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/pa.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/pl.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/pt_BR.po   | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/ru.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/sr.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/sv.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/tr.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/uk.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/zh.po      | 84 +++++++++++++++++++++++++++++++++-------------------------
 po/zh_Hans.po | 84 +++++++++++++++++++++++++++++++++-------------------------
 22 files changed, 1036 insertions(+), 769 deletions(-)

diff --git a/po/de.po b/po/de.po
index f18ed3da7..4bbe42318 100644
--- a/po/de.po
+++ b/po/de.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LXD\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: 2017-02-14 17:11+0000\n"
 "Last-Translator: Tim Rose <tim at netlope.de>\n"
 "Language-Team: German <https://hosted.weblate.org/projects/linux-containers/"
@@ -526,11 +526,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -774,30 +774,30 @@ msgstr "Kein Zertifikat für diese Verbindung"
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -1031,7 +1031,7 @@ msgstr "Herunterfahren des Containers erzwingen."
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -1039,6 +1039,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 #, fuzzy
 msgid "Generating a client certificate. This may take a minute..."
@@ -1092,7 +1096,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1193,7 +1197,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 #, fuzzy
 msgid "Invalid number of arguments"
 msgstr "ungültiges Argument %s"
@@ -1234,6 +1238,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1850,7 +1858,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1858,7 +1866,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -2205,11 +2213,11 @@ msgstr "Setzt die Dateiberechtigungen beim Übertragen"
 msgid "Set the file's uid on push"
 msgstr "Setzt die uid der Datei beim Übertragen"
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2247,7 +2255,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2495,7 +2503,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -3226,6 +3234,11 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+#, fuzzy
+msgid "manpage <target>"
+msgstr "Veröffentliche Abbild"
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/el.po b/po/el.po
index 2d6136ec0..94abdc009 100644
--- a/po/el.po
+++ b/po/el.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: 2017-02-14 08:00+0000\n"
 "Last-Translator: Simos Xenitellis <simos.65 at gmail.com>\n"
 "Language-Team: Greek <https://hosted.weblate.org/projects/linux-containers/"
@@ -413,11 +413,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -647,30 +647,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -893,7 +893,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -901,6 +901,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -953,7 +957,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1052,7 +1056,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1092,6 +1096,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1663,7 +1671,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1671,7 +1679,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1998,11 +2006,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2038,7 +2046,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2271,7 +2279,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2938,6 +2946,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/es.po b/po/es.po
index fffec56dc..6322f8838 100644
--- a/po/es.po
+++ b/po/es.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: 2018-02-10 11:39+0000\n"
 "Last-Translator: Allan Esquivel Sibaja <allan.esquivel.sibaja at gmail.com>\n"
 "Language-Team: Spanish <https://hosted.weblate.org/projects/linux-containers/"
@@ -470,11 +470,11 @@ msgstr ""
 msgid "Columns"
 msgstr "Columnas"
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -705,30 +705,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -950,7 +950,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -958,6 +958,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -1010,7 +1014,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1109,7 +1113,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1149,6 +1153,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1722,7 +1730,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1730,7 +1738,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -2057,11 +2065,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2097,7 +2105,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2330,7 +2338,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2998,6 +3006,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/fi.po b/po/fi.po
index 7c9b91779..851030b9f 100644
--- a/po/fi.po
+++ b/po/fi.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/fr.po b/po/fr.po
index 7553fb3eb..ae37f3d79 100644
--- a/po/fr.po
+++ b/po/fr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LXD\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: 2018-01-02 10:52+0000\n"
 "Last-Translator: Bruno Perel <brunoperel at gmail.com>\n"
 "Language-Team: French <https://hosted.weblate.org/projects/linux-containers/"
@@ -518,11 +518,11 @@ msgstr ""
 msgid "Columns"
 msgstr "Colonnes"
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 #, fuzzy
 msgid ""
 "Command line client for LXD\n"
@@ -787,30 +787,30 @@ msgstr "Copie de l'image : %s"
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -1049,7 +1049,7 @@ msgstr "Forcer le conteneur à s'arrêter"
 msgid "Force the removal of running containers"
 msgstr "Forcer la suppression des conteneurs arrêtés"
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr "Forcer l'utilisation de la socket unix locale"
 
@@ -1057,6 +1057,10 @@ msgstr "Forcer l'utilisation de la socket unix locale"
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr "Génération d'un certificat client. Ceci peut prendre une minute…"
@@ -1114,7 +1118,7 @@ msgstr "IPv6"
 msgid "ISSUE DATE"
 msgstr "DATE D'ÉMISSION"
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 #, fuzzy
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
@@ -1220,7 +1224,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 #, fuzzy
 msgid "Invalid number of arguments"
 msgstr "nombre d'arguments incorrect pour la sous-comande"
@@ -1261,6 +1265,10 @@ msgstr "DERNIÈRE UTILISATION À"
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1923,7 +1931,7 @@ msgstr "Appuyer sur Entrée pour lancer à nouveau l'éditeur"
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1931,7 +1939,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -2283,11 +2291,11 @@ msgstr "Définir les permissions du fichier lors de l'envoi"
 msgid "Set the file's uid on push"
 msgstr "Définir l'uid du fichier lors de l'envoi"
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2327,7 +2335,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 #, fuzzy
 msgid "Show less common commands"
 msgstr "Afficher les commandes moins communes"
@@ -2577,7 +2585,7 @@ msgstr "Pour créer un réseau, utiliser : lxc network create"
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 "Pour démarrer votre premier conteneur, essayer : lxc launch ubuntu:16.04"
@@ -3337,6 +3345,11 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+#, fuzzy
+msgid "manpage <target>"
+msgstr "Rendre l'image publique"
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/hi.po b/po/hi.po
index b74ced7c3..8126bc426 100644
--- a/po/hi.po
+++ b/po/hi.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/id.po b/po/id.po
index 573911d91..5178365dc 100644
--- a/po/id.po
+++ b/po/id.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/it.po b/po/it.po
index 6f23a9b4e..d6fe2ed13 100644
--- a/po/it.po
+++ b/po/it.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: 2017-08-18 14:22+0000\n"
 "Last-Translator: Alberto Donato <alberto.donato at gmail.com>\n"
 "Language-Team: Italian <https://hosted.weblate.org/projects/linux-containers/"
@@ -436,11 +436,11 @@ msgstr ""
 msgid "Columns"
 msgstr "Colonne"
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -672,30 +672,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -918,7 +918,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -926,6 +926,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -978,7 +982,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1078,7 +1082,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 #, fuzzy
 msgid "Invalid number of arguments"
 msgstr "numero errato di argomenti del sottocomando"
@@ -1119,6 +1123,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1695,7 +1703,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1703,7 +1711,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -2031,11 +2039,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2071,7 +2079,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2307,7 +2315,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2976,6 +2984,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/ja.po b/po/ja.po
index 42137170c..399943050 100644
--- a/po/ja.po
+++ b/po/ja.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: LXD\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: 2018-02-27 18:12+0000\n"
 "Last-Translator: KATOH Yasufumi <karma at jazz.email.ne.jp>\n"
 "Language-Team: Japanese <https://hosted.weblate.org/projects/linux-"
@@ -422,11 +422,11 @@ msgstr ""
 msgid "Columns"
 msgstr "カラムレイアウト"
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 #, fuzzy
 msgid ""
 "Command line client for LXD\n"
@@ -685,30 +685,30 @@ msgstr "ストレージボリュームの移動中: %s"
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -950,7 +950,7 @@ msgstr "コンテナを強制シャットダウンします"
 msgid "Force the removal of running containers"
 msgstr "稼働中のコンテナを強制的に削除します"
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr "強制的にローカルのUNIXソケットを使います"
 
@@ -958,6 +958,10 @@ msgstr "強制的にローカルのUNIXソケットを使います"
 msgid "Format (csv|json|table|yaml)"
 msgstr "フォーマット (csv|json|table|yaml)"
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr "クライアント証明書を生成します。1分ぐらいかかります..."
@@ -1013,7 +1017,7 @@ msgstr "IPV6"
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1114,7 +1118,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 #, fuzzy
 msgid "Invalid number of arguments"
 msgstr "不正な引数 %s"
@@ -1155,6 +1159,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1851,7 +1859,7 @@ msgstr "再度エディタを起動するには Enter キーを押します"
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1859,7 +1867,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr "レスポンスをそのまま表示します"
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -2207,11 +2215,11 @@ msgstr "プッシュ時にファイルのパーミションを設定します"
 msgid "Set the file's uid on push"
 msgstr "プッシュ時にファイルのuidを設定します"
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2251,7 +2259,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 #, fuzzy
 msgid "Show less common commands"
 msgstr "全てのコマンドを表示します (主なコマンドだけではなく)"
@@ -2503,7 +2511,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr "コンソールから切り離すには <ctrl>+a q を押します"
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 "初めてコンテナを起動するには、\"lxc launch ubuntu:16.04\" と実行してみてくだ"
@@ -3256,6 +3264,11 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+#, fuzzy
+msgid "manpage <target>"
+msgstr "イメージを public にする"
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/lxd.pot b/po/lxd.pot
index 7300d9785..54f2457d5 100644
--- a/po/lxd.pot
+++ b/po/lxd.pot
@@ -7,7 +7,7 @@
 msgid   ""
 msgstr  "Project-Id-Version: lxd\n"
         "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-        "POT-Creation-Date: 2018-03-29 10:47-0400\n"
+        "POT-Creation-Date: 2018-03-29 14:53-0400\n"
         "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
         "Last-Translator: FULL NAME <EMAIL at ADDRESS>\n"
         "Language-Team: LANGUAGE <LL at li.org>\n"
@@ -392,11 +392,11 @@ msgstr  ""
 msgid   "Columns"
 msgstr  ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid   "Command line client for LXD"
 msgstr  ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid   "Command line client for LXD\n"
         "\n"
         "All of LXD's features can be driven through the various commands below.\n"
@@ -600,7 +600,7 @@ msgstr  ""
 msgid   "Delete storage volumes"
 msgstr  ""
 
-#: lxc/action.go:30 lxc/action.go:49 lxc/action.go:69 lxc/action.go:91 lxc/alias.go:23 lxc/alias.go:55 lxc/alias.go:99 lxc/alias.go:147 lxc/alias.go:198 lxc/cluster.go:26 lxc/cluster.go:59 lxc/cluster.go:142 lxc/cluster.go:192 lxc/cluster.go:238 lxc/config.go:29 lxc/config.go:88 lxc/config.go:289 lxc/config.go:355 lxc/config.go:452 lxc/config.go:560 lxc/config_device.go:24 lxc/config_device.go:76 lxc/config_device.go:179 lxc/config_device.go:252 lxc/config_device.go:318 lxc/config_device.go:405 lxc/config_device.go:493 lxc/config_device.go:582 lxc/config_device.go:650 lxc/config_metadata.go:29 lxc/config_metadata.go:54 lxc/config_metadata.go:176 lxc/config_template.go:30 lxc/config_template.go:67 lxc/config_template.go:110 lxc/config_template.go:152 lxc/config_template.go:236 lxc/config_template.go:298 lxc/config_trust.go:30 lxc/config_trust.go:59 lxc/config_trust.go:115 lxc/config_trust.go:197 lxc/console.go:32 lxc/copy.go:35 lxc/delete.go:30 lxc/exec.go:39 lxc/file.go:40 lxc/file.go:73 lxc/file.go:122 lxc/file.go:185 lxc/file.go:324 lxc/image.go:42 lxc/image.go:131 lxc/image.go:261 lxc/image.go:312 lxc/image.go:435 lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212 lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59 lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250 lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201 lxc/storage_volume.go:283 lxc/storage_volume.go:426 lxc/storage_volume.go:501 lxc/storage_volume.go:561 lxc/storage_volume.go:643 lxc/storage_volume.go:724 lxc/storage_volume.go:853 lxc/storage_volume.go:918 lxc/storage_volume.go:994 lxc/storage_volume.go:1025 lxc/storage_volume.go:1089 lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
+#: lxc/action.go:30 lxc/action.go:49 lxc/action.go:69 lxc/action.go:91 lxc/alias.go:23 lxc/alias.go:55 lxc/alias.go:99 lxc/alias.go:147 lxc/alias.go:198 lxc/cluster.go:26 lxc/cluster.go:59 lxc/cluster.go:142 lxc/cluster.go:192 lxc/cluster.go:238 lxc/config.go:29 lxc/config.go:88 lxc/config.go:289 lxc/config.go:355 lxc/config.go:452 lxc/config.go:560 lxc/config_device.go:24 lxc/config_device.go:76 lxc/config_device.go:179 lxc/config_device.go:252 lxc/config_device.go:318 lxc/config_device.go:405 lxc/config_device.go:493 lxc/config_device.go:582 lxc/config_device.go:650 lxc/config_metadata.go:29 lxc/config_metadata.go:54 lxc/config_metadata.go:176 lxc/config_template.go:30 lxc/config_template.go:67 lxc/config_template.go:110 lxc/config_template.go:152 lxc/config_template.go:236 lxc/config_template.go:298 lxc/config_trust.go:30 lxc/config_trust.go:59 lxc/config_trust.go:115 lxc/config_trust.go:197 lxc/console.go:32 lxc/copy.go:35 lxc/delete.go:30 lxc/exec.go:39 lxc/file.go:40 lxc/file.go:73 lxc/file.go:122 lxc/file.go:185 lxc/file.go:324 lxc/image.go:42 lxc/image.go:131 lxc/image.go:261 lxc/image.go:312 lxc/image.go:435 lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212 lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59 lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250 lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46 lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201 lxc/storage_volume.go:283 lxc/storage_volume.go:426 lxc/storage_volume.go:501 lxc/storage_volume.go:561 lxc/storage_volume.go:643 lxc/storage_volume.go:724 lxc/storage_volume.go:853 lxc/storage_volume.go:918 lxc/storage_volume.go:994 lxc/storage_volume.go:1025 lxc/storage_volume.go:1089 lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid   "Description"
 msgstr  ""
 
@@ -819,7 +819,7 @@ msgstr  ""
 msgid   "Force the removal of running containers"
 msgstr  ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid   "Force using the local unix socket"
 msgstr  ""
 
@@ -827,6 +827,10 @@ msgstr  ""
 msgid   "Format (csv|json|table|yaml)"
 msgstr  ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid   "Generate manpages for all commands"
+msgstr  ""
+
 #: lxc/remote.go:211
 msgid   "Generating a client certificate. This may take a minute..."
 msgstr  ""
@@ -879,7 +883,7 @@ msgstr  ""
 msgid   "ISSUE DATE"
 msgstr  ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid   "If this is your first time running LXD on this machine, you should also run: lxd init"
 msgstr  ""
 
@@ -974,7 +978,7 @@ msgstr  ""
 msgid   "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr  ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid   "Invalid number of arguments"
 msgstr  ""
 
@@ -1014,6 +1018,10 @@ msgstr  ""
 msgid   "LOCATION"
 msgstr  ""
 
+#: lxc/manpage.go:37
+msgid   "LXD - Command line client"
+msgstr  ""
+
 #: lxc/cluster.go:94
 msgid   "LXD server isn't part of a cluster"
 msgstr  ""
@@ -1554,7 +1562,7 @@ msgstr  ""
 msgid   "Pretty rendering"
 msgstr  ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid   "Print help"
 msgstr  ""
 
@@ -1562,7 +1570,7 @@ msgstr  ""
 msgid   "Print the raw response"
 msgstr  ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid   "Print version number"
 msgstr  ""
 
@@ -1886,11 +1894,11 @@ msgstr  ""
 msgid   "Set the file's uid on push"
 msgstr  ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid   "Show all debug messages"
 msgstr  ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid   "Show all information messages"
 msgstr  ""
 
@@ -1926,7 +1934,7 @@ msgstr  ""
 msgid   "Show image properties"
 msgstr  ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid   "Show less common commands"
 msgstr  ""
 
@@ -2154,7 +2162,7 @@ msgstr  ""
 msgid   "To detach from the console, press: <ctrl>+a q"
 msgstr  ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid   "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr  ""
 
@@ -2776,6 +2784,10 @@ msgid   "lxc storage volume show default data\n"
         "    Will show the properties of the filesystem for a container called \"data\" in the \"default\" pool."
 msgstr  ""
 
+#: lxc/manpage.go:17
+msgid   "manpage <target>"
+msgstr  ""
+
 #: lxc/config_metadata.go:27
 msgid   "metadata"
 msgstr  ""
diff --git a/po/nb_NO.po b/po/nb_NO.po
index 380f346b8..8e3c2e532 100644
--- a/po/nb_NO.po
+++ b/po/nb_NO.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/nl.po b/po/nl.po
index fcc98912a..008211a7d 100644
--- a/po/nl.po
+++ b/po/nl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/pa.po b/po/pa.po
index 3a9609e7f..9d49d18b4 100644
--- a/po/pa.po
+++ b/po/pa.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/pl.po b/po/pl.po
index 484aabeb5..c2dc965d3 100644
--- a/po/pl.po
+++ b/po/pl.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index dacda0742..a18fb5adc 100644
--- a/po/pt_BR.po
+++ b/po/pt_BR.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/ru.po b/po/ru.po
index 2950fdf9d..4046aa4f9 100644
--- a/po/ru.po
+++ b/po/ru.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: 2017-09-05 16:48+0000\n"
 "Last-Translator: Ilya Yakimavets <ilya.yakimavets at backend.expert>\n"
 "Language-Team: Russian <https://hosted.weblate.org/projects/linux-containers/"
@@ -499,11 +499,11 @@ msgstr ""
 msgid "Columns"
 msgstr "Столбцы"
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -741,30 +741,30 @@ msgstr "Копирование образа: %s"
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -989,7 +989,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -997,6 +997,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -1049,7 +1053,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1150,7 +1154,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1190,6 +1194,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1773,7 +1781,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1781,7 +1789,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -2112,11 +2120,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2154,7 +2162,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2389,7 +2397,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -3109,6 +3117,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/sr.po b/po/sr.po
index 94401e690..c33551689 100644
--- a/po/sr.po
+++ b/po/sr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/sv.po b/po/sv.po
index d846c2cb4..b1c054ebf 100644
--- a/po/sv.po
+++ b/po/sv.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/tr.po b/po/tr.po
index b924b4943..60d1e9ebe 100644
--- a/po/tr.po
+++ b/po/tr.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/uk.po b/po/uk.po
index 3c22c1dea..a6c3a4c7a 100644
--- a/po/uk.po
+++ b/po/uk.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/zh.po b/po/zh.po
index f579ce403..3bde2fae0 100644
--- a/po/zh.po
+++ b/po/zh.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""
diff --git a/po/zh_Hans.po b/po/zh_Hans.po
index 3b5f708b4..323ccfe90 100644
--- a/po/zh_Hans.po
+++ b/po/zh_Hans.po
@@ -7,7 +7,7 @@ msgid ""
 msgstr ""
 "Project-Id-Version: lxd\n"
 "Report-Msgid-Bugs-To: lxc-devel at lists.linuxcontainers.org\n"
-"POT-Creation-Date: 2018-03-29 10:47-0400\n"
+"POT-Creation-Date: 2018-03-29 14:53-0400\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -409,11 +409,11 @@ msgstr ""
 msgid "Columns"
 msgstr ""
 
-#: lxc/main.go:44
+#: lxc/main.go:45
 msgid "Command line client for LXD"
 msgstr ""
 
-#: lxc/main.go:45
+#: lxc/main.go:46
 msgid ""
 "Command line client for LXD\n"
 "\n"
@@ -643,30 +643,30 @@ msgstr ""
 #: lxc/image.go:571 lxc/image.go:776 lxc/image.go:890 lxc/image.go:1212
 #: lxc/image.go:1285 lxc/image_alias.go:26 lxc/image_alias.go:59
 #: lxc/image_alias.go:106 lxc/image_alias.go:149 lxc/image_alias.go:250
-#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:45
-#: lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32 lxc/network.go:104
-#: lxc/network.go:177 lxc/network.go:250 lxc/network.go:320 lxc/network.go:367
-#: lxc/network.go:452 lxc/network.go:537 lxc/network.go:660 lxc/network.go:719
-#: lxc/network.go:808 lxc/network.go:873 lxc/network.go:920 lxc/network.go:989
-#: lxc/network.go:1051 lxc/operation.go:25 lxc/operation.go:54
-#: lxc/operation.go:98 lxc/operation.go:174 lxc/profile.go:30
-#: lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241 lxc/profile.go:297
-#: lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520 lxc/profile.go:568
-#: lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753 lxc/profile.go:812
-#: lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27 lxc/remote.go:34
-#: lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414 lxc/remote.go:487
-#: lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636 lxc/rename.go:20
-#: lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33 lxc/storage.go:89
-#: lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328 lxc/storage.go:383
-#: lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645 lxc/storage.go:729
-#: lxc/storage_volume.go:34 lxc/storage_volume.go:122 lxc/storage_volume.go:201
-#: lxc/storage_volume.go:283 lxc/storage_volume.go:426
-#: lxc/storage_volume.go:501 lxc/storage_volume.go:561
-#: lxc/storage_volume.go:643 lxc/storage_volume.go:724
-#: lxc/storage_volume.go:853 lxc/storage_volume.go:918
-#: lxc/storage_volume.go:994 lxc/storage_volume.go:1025
-#: lxc/storage_volume.go:1089 lxc/storage_volume.go:1166
-#: lxc/storage_volume.go:1241
+#: lxc/info.go:29 lxc/init.go:35 lxc/launch.go:22 lxc/list.go:48 lxc/main.go:46
+#: lxc/manpage.go:19 lxc/monitor.go:31 lxc/move.go:31 lxc/network.go:32
+#: lxc/network.go:104 lxc/network.go:177 lxc/network.go:250 lxc/network.go:320
+#: lxc/network.go:367 lxc/network.go:452 lxc/network.go:537 lxc/network.go:660
+#: lxc/network.go:719 lxc/network.go:808 lxc/network.go:873 lxc/network.go:920
+#: lxc/network.go:989 lxc/network.go:1051 lxc/operation.go:25
+#: lxc/operation.go:54 lxc/operation.go:98 lxc/operation.go:174
+#: lxc/profile.go:30 lxc/profile.go:102 lxc/profile.go:163 lxc/profile.go:241
+#: lxc/profile.go:297 lxc/profile.go:348 lxc/profile.go:396 lxc/profile.go:520
+#: lxc/profile.go:568 lxc/profile.go:632 lxc/profile.go:705 lxc/profile.go:753
+#: lxc/profile.go:812 lxc/profile.go:866 lxc/publish.go:34 lxc/query.go:27
+#: lxc/remote.go:34 lxc/remote.go:84 lxc/remote.go:380 lxc/remote.go:414
+#: lxc/remote.go:487 lxc/remote.go:549 lxc/remote.go:598 lxc/remote.go:636
+#: lxc/rename.go:20 lxc/restore.go:24 lxc/snapshot.go:21 lxc/storage.go:33
+#: lxc/storage.go:89 lxc/storage.go:161 lxc/storage.go:208 lxc/storage.go:328
+#: lxc/storage.go:383 lxc/storage.go:491 lxc/storage.go:573 lxc/storage.go:645
+#: lxc/storage.go:729 lxc/storage_volume.go:34 lxc/storage_volume.go:122
+#: lxc/storage_volume.go:201 lxc/storage_volume.go:283
+#: lxc/storage_volume.go:426 lxc/storage_volume.go:501
+#: lxc/storage_volume.go:561 lxc/storage_volume.go:643
+#: lxc/storage_volume.go:724 lxc/storage_volume.go:853
+#: lxc/storage_volume.go:918 lxc/storage_volume.go:994
+#: lxc/storage_volume.go:1025 lxc/storage_volume.go:1089
+#: lxc/storage_volume.go:1166 lxc/storage_volume.go:1241
 msgid "Description"
 msgstr ""
 
@@ -888,7 +888,7 @@ msgstr ""
 msgid "Force the removal of running containers"
 msgstr ""
 
-#: lxc/main.go:56
+#: lxc/main.go:57
 msgid "Force using the local unix socket"
 msgstr ""
 
@@ -896,6 +896,10 @@ msgstr ""
 msgid "Format (csv|json|table|yaml)"
 msgstr ""
 
+#: lxc/manpage.go:18 lxc/manpage.go:19
+msgid "Generate manpages for all commands"
+msgstr ""
+
 #: lxc/remote.go:211
 msgid "Generating a client certificate. This may take a minute..."
 msgstr ""
@@ -948,7 +952,7 @@ msgstr ""
 msgid "ISSUE DATE"
 msgstr ""
 
-#: lxc/main.go:259
+#: lxc/main.go:264
 msgid ""
 "If this is your first time running LXD on this machine, you should also run: "
 "lxd init"
@@ -1047,7 +1051,7 @@ msgid ""
 "Invalid name in '%s', empty string is only allowed when defining maxWidth"
 msgstr ""
 
-#: lxc/main.go:341
+#: lxc/main.go:346
 msgid "Invalid number of arguments"
 msgstr ""
 
@@ -1087,6 +1091,10 @@ msgstr ""
 msgid "LOCATION"
 msgstr ""
 
+#: lxc/manpage.go:37
+msgid "LXD - Command line client"
+msgstr ""
+
 #: lxc/cluster.go:94
 msgid "LXD server isn't part of a cluster"
 msgstr ""
@@ -1656,7 +1664,7 @@ msgstr ""
 msgid "Pretty rendering"
 msgstr ""
 
-#: lxc/main.go:55
+#: lxc/main.go:56
 msgid "Print help"
 msgstr ""
 
@@ -1664,7 +1672,7 @@ msgstr ""
 msgid "Print the raw response"
 msgstr ""
 
-#: lxc/main.go:54
+#: lxc/main.go:55
 msgid "Print version number"
 msgstr ""
 
@@ -1991,11 +1999,11 @@ msgstr ""
 msgid "Set the file's uid on push"
 msgstr ""
 
-#: lxc/main.go:57
+#: lxc/main.go:58
 msgid "Show all debug messages"
 msgstr ""
 
-#: lxc/main.go:58
+#: lxc/main.go:59
 msgid "Show all information messages"
 msgstr ""
 
@@ -2031,7 +2039,7 @@ msgstr ""
 msgid "Show image properties"
 msgstr ""
 
-#: lxc/main.go:61
+#: lxc/main.go:62
 msgid "Show less common commands"
 msgstr ""
 
@@ -2264,7 +2272,7 @@ msgstr ""
 msgid "To detach from the console, press: <ctrl>+a q"
 msgstr ""
 
-#: lxc/main.go:260
+#: lxc/main.go:265
 msgid "To start your first container, try: lxc launch ubuntu:16.04"
 msgstr ""
 
@@ -2931,6 +2939,10 @@ msgid ""
 "\" in the \"default\" pool."
 msgstr ""
 
+#: lxc/manpage.go:17
+msgid "manpage <target>"
+msgstr ""
+
 #: lxc/config_metadata.go:27
 msgid "metadata"
 msgstr ""


More information about the lxc-devel mailing list