[lxc-devel] [lxd/master] Don't allow --container-only with snapshots

stgraber on Github lxc-bot at linuxcontainers.org
Thu Nov 8 19:13:16 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/20181108/7ba90e7d/attachment.bin>
-------------- next part --------------
From 3e487b888110946fe26fd1f01eb191f90ba74b9a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 8 Nov 2018 14:12:26 -0500
Subject: [PATCH 1/2] lxc/copy: --container-only is meaningless for snapshots
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/copy.go | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/lxc/copy.go b/lxc/copy.go
index f34b05d74e..9461167e04 100644
--- a/lxc/copy.go
+++ b/lxc/copy.go
@@ -135,6 +135,10 @@ func (c *cmdCopy) copyContainer(conf *config.Config, sourceResource string,
 
 	var op lxd.RemoteOperation
 	if shared.IsSnapshot(sourceName) {
+		if containerOnly {
+			return fmt.Errorf(i18n.G("--container-only can't be passed when the source is a snapshot"))
+		}
+
 		// Prepare the container creation request
 		args := lxd.ContainerSnapshotCopyArgs{
 			Name: destName,

From 7441e7eb1eb514b30750d6a34aa144036fdf7f16 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?St=C3=A9phane=20Graber?= <stgraber at ubuntu.com>
Date: Thu, 8 Nov 2018 14:12:52 -0500
Subject: [PATCH 2/2] 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      | 12 ++++++++----
 po/el.po      | 12 ++++++++----
 po/es.po      | 12 ++++++++----
 po/fa.po      | 12 ++++++++----
 po/fi.po      | 12 ++++++++----
 po/fr.po      | 12 ++++++++----
 po/hi.po      | 12 ++++++++----
 po/id.po      | 12 ++++++++----
 po/it.po      | 12 ++++++++----
 po/ja.po      | 13 +++++++++----
 po/ko.po      | 12 ++++++++----
 po/lxd.pot    | 12 ++++++++----
 po/nb_NO.po   | 12 ++++++++----
 po/nl.po      | 12 ++++++++----
 po/pa.po      | 12 ++++++++----
 po/pl.po      | 12 ++++++++----
 po/pt_BR.po   | 12 ++++++++----
 po/ru.po      | 12 ++++++++----
 po/sr.po      | 12 ++++++++----
 po/sv.po      | 12 ++++++++----
 po/tr.po      | 12 ++++++++----
 po/uk.po      | 12 ++++++++----
 po/zh.po      | 12 ++++++++----
 po/zh_Hans.po | 12 ++++++++----
 24 files changed, 193 insertions(+), 96 deletions(-)

diff --git a/po/de.po b/po/de.po
index 6c81ab2467..6d354216c9 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: 2018-10-08 21:27+0000\n"
 "Last-Translator: Tim Rose <tim at netlope.de>\n"
 "Language-Team: German <https://hosted.weblate.org/projects/linux-containers/"
@@ -312,6 +312,10 @@ msgstr ""
 msgid "(none)"
 msgstr "(kein Wert)"
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -638,7 +642,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -1136,7 +1140,7 @@ msgstr "kann nicht zum selben Container Namen kopieren"
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 #, fuzzy
 msgid "Failed to get the new container name"
 msgstr "kann nicht zum selben Container Namen kopieren"
@@ -2836,7 +2840,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, fuzzy, c-format
 msgid "Transferring container: %s"
 msgstr "kann nicht zum selben Container Namen kopieren"
diff --git a/po/el.po b/po/el.po
index 42531f21bd..f110ceb270 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\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/"
@@ -187,6 +187,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -500,7 +504,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -972,7 +976,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2573,7 +2577,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/es.po b/po/es.po
index b9ea99e784..d85c6204e9 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\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/"
@@ -259,6 +259,10 @@ msgstr "%s no es un tipo de archivo soportado."
 msgid "(none)"
 msgstr "(ninguno)"
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr "ALIAS"
@@ -573,7 +577,7 @@ msgstr "Log de la consola:"
 msgid "Container name is mandatory"
 msgstr "Nombre del contenedor es obligatorio"
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr "Nombre del contenedor es: %s"
@@ -1047,7 +1051,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2651,7 +2655,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/fa.po b/po/fa.po
index f8eac35160..5f43132d74 100644
--- a/po/fa.po
+++ b/po/fa.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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/fi.po b/po/fi.po
index c49acce238..675365754e 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/fr.po b/po/fr.po
index b4899538f3..2e7f8c002c 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: 2018-10-11 22:31+0000\n"
 "Last-Translator: Stéphane Graber <stgraber at stgraber.org>\n"
 "Language-Team: French <https://hosted.weblate.org/projects/linux-containers/"
@@ -299,6 +299,10 @@ msgstr "'%s' n'est pas un format de fichier pris en charge."
 msgid "(none)"
 msgstr "(aucun)"
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr "ALIAS"
@@ -630,7 +634,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr "Le nom du conteneur est obligatoire"
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr "Le nom du conteneur est : %s"
@@ -1151,7 +1155,7 @@ msgstr "Profil à appliquer au nouveau conteneur"
 msgid "Failed to create alias %s"
 msgstr "Échec lors de la génération de 'lxc.%s.1': %v"
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 #, fuzzy
 msgid "Failed to get the new container name"
 msgstr "Profil à appliquer au nouveau conteneur"
@@ -2926,7 +2930,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, fuzzy, c-format
 msgid "Transferring container: %s"
 msgstr "Transfert de l'image : %s"
diff --git a/po/hi.po b/po/hi.po
index 25ef504aef..d49c1b3ad4 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/id.po b/po/id.po
index 71c106d308..36e361def7 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/it.po b/po/it.po
index 4fb23baa17..e4609afac4 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\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/"
@@ -224,6 +224,10 @@ msgstr "'%s' non è un tipo di file supportato."
 msgid "(none)"
 msgstr "(nessuno)"
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr "ALIAS"
@@ -538,7 +542,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr "Il nome del container è: %s"
@@ -1013,7 +1017,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2627,7 +2631,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/ja.po b/po/ja.po
index 39613b4975..10a823d988 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: 2018-10-12 14:44+0000\n"
 "Last-Translator: KATOH Yasufumi <karma at jazz.email.ne.jp>\n"
 "Language-Team: Japanese <https://hosted.weblate.org/projects/linux-"
@@ -188,6 +188,11 @@ msgstr "'%s' はサポートされないタイプのファイルです"
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+#, fuzzy
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr "--container-only と --target は同時に指定できません"
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -512,7 +517,7 @@ msgstr "コンソールログ:"
 msgid "Container name is mandatory"
 msgstr "コンテナ名を指定する必要があります"
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr "コンテナ名: %s"
@@ -1016,7 +1021,7 @@ msgstr "クラスタメンバへの接続に失敗しました"
 msgid "Failed to create alias %s"
 msgstr "エイリアス %s の作成に失敗しました"
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr "新しいコンテナ名が取得できません"
 
@@ -2749,7 +2754,7 @@ msgstr "転送モード。pull, push, relay のいずれか(デフォルトはpu
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr "転送モード。pull, push, relay のいずれか(デフォルトはpull)。"
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr "コンテナを転送中: %s"
diff --git a/po/ko.po b/po/ko.po
index 74c234a007..03064e3ad2 100644
--- a/po/ko.po
+++ b/po/ko.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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/lxd.pot b/po/lxd.pot
index d43eaab928..cdec599903 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-11-06 23:44-0500\n"
+        "POT-Creation-Date: 2018-11-08 14:12-0500\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"
@@ -176,6 +176,10 @@ msgstr  ""
 msgid   "(none)"
 msgstr  ""
 
+#: lxc/copy.go:139
+msgid   "--container-only can't be passed when the source is a snapshot"
+msgstr  ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid   "ALIAS"
 msgstr  ""
@@ -474,7 +478,7 @@ msgstr  ""
 msgid   "Container name is mandatory"
 msgstr  ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid   "Container name is: %s"
 msgstr  ""
@@ -886,7 +890,7 @@ msgstr  ""
 msgid   "Failed to create alias %s"
 msgstr  ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid   "Failed to get the new container name"
 msgstr  ""
 
@@ -2438,7 +2442,7 @@ msgstr  ""
 msgid   "Transfer mode. One of pull (default), push or relay."
 msgstr  ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid   "Transferring container: %s"
 msgstr  ""
diff --git a/po/nb_NO.po b/po/nb_NO.po
index d9a9420d36..6e82fde4f3 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/nl.po b/po/nl.po
index 579c1d9e51..88de0e374d 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: 2018-09-24 23:21+0000\n"
 "Last-Translator: idef1x <sjoerd at sjomar.eu>\n"
 "Language-Team: Dutch <https://hosted.weblate.org/projects/linux-containers/"
@@ -214,6 +214,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -526,7 +530,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -997,7 +1001,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2596,7 +2600,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/pa.po b/po/pa.po
index c0c72ec150..de161f3421 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/pl.po b/po/pl.po
index 18352966ed..f5c21936f7 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: 2018-09-08 19:22+0000\n"
 "Last-Translator: m4sk1n <me at m4sk.in>\n"
 "Language-Team: Polish <https://hosted.weblate.org/projects/linux-containers/"
@@ -233,6 +233,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -545,7 +549,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -1016,7 +1020,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2615,7 +2619,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/pt_BR.po b/po/pt_BR.po
index e618f523a5..8d14a31733 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: 2018-10-03 13:37+0000\n"
 "Last-Translator: Tiago A. Reul <tiago at reul.space>\n"
 "Language-Team: Portuguese (Brazil) <https://hosted.weblate.org/projects/"
@@ -245,6 +245,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -557,7 +561,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -1029,7 +1033,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2630,7 +2634,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/ru.po b/po/ru.po
index 470dcf5673..34c8999ae7 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: 2018-06-22 15:57+0000\n"
 "Last-Translator: Александр Киль <shorrey at gmail.com>\n"
 "Language-Team: Russian <https://hosted.weblate.org/projects/linux-containers/"
@@ -294,6 +294,10 @@ msgstr ""
 msgid "(none)"
 msgstr "(пусто)"
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr "ПСЕВДОНИМ"
@@ -610,7 +614,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr "Имя контейнера является обязательным"
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr "Имя контейнера: %s"
@@ -1095,7 +1099,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2721,7 +2725,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/sr.po b/po/sr.po
index c253bcfe60..31e5ac4058 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/sv.po b/po/sv.po
index b3a6282f44..83fe73ec61 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/tr.po b/po/tr.po
index cefc649333..c19eeffe6f 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/uk.po b/po/uk.po
index 8e4c4eae27..09df957c1a 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/zh.po b/po/zh.po
index a6b4700965..54b5a34644 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: 2018-09-11 19:15+0000\n"
 "Last-Translator: 0x0916 <w at laoqinren.net>\n"
 "Language-Team: Chinese (Simplified) <https://hosted.weblate.org/projects/"
@@ -187,6 +187,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -499,7 +503,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -970,7 +974,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2569,7 +2573,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""
diff --git a/po/zh_Hans.po b/po/zh_Hans.po
index 068d56fcb6..c6589574cf 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-11-06 23:44-0500\n"
+"POT-Creation-Date: 2018-11-08 14:12-0500\n"
 "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
 "Last-Translator: Automatically generated\n"
 "Language-Team: none\n"
@@ -184,6 +184,10 @@ msgstr ""
 msgid "(none)"
 msgstr ""
 
+#: lxc/copy.go:139
+msgid "--container-only can't be passed when the source is a snapshot"
+msgstr ""
+
 #: lxc/alias.go:127 lxc/image.go:935 lxc/image_alias.go:228
 msgid "ALIAS"
 msgstr ""
@@ -496,7 +500,7 @@ msgstr ""
 msgid "Container name is mandatory"
 msgstr ""
 
-#: lxc/copy.go:349 lxc/init.go:239
+#: lxc/copy.go:353 lxc/init.go:239
 #, c-format
 msgid "Container name is: %s"
 msgstr ""
@@ -967,7 +971,7 @@ msgstr ""
 msgid "Failed to create alias %s"
 msgstr ""
 
-#: lxc/copy.go:344
+#: lxc/copy.go:348
 msgid "Failed to get the new container name"
 msgstr ""
 
@@ -2566,7 +2570,7 @@ msgstr ""
 msgid "Transfer mode. One of pull (default), push or relay."
 msgstr ""
 
-#: lxc/copy.go:315
+#: lxc/copy.go:319
 #, c-format
 msgid "Transferring container: %s"
 msgstr ""


More information about the lxc-devel mailing list