[lxc-devel] [lxd/master] Fix lxc delete --force description

albertodonato on Github lxc-bot at linuxcontainers.org
Tue Sep 5 16:06:20 UTC 2017


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/20170905/3be515fc/attachment.bin>
-------------- next part --------------
From ffd0f616eb07806bcd087a52e57ce77c0c31c390 Mon Sep 17 00:00:00 2001
From: Alberto Donato <alberto.donato at canonical.com>
Date: Tue, 5 Sep 2017 18:05:22 +0200
Subject: [PATCH] Fix lxc delete --force description.

Signed-off-by: Alberto Donato <alberto.donato at canonical.com>
---
 lxc/delete.go | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lxc/delete.go b/lxc/delete.go
index d112c3d03..0863cf38f 100644
--- a/lxc/delete.go
+++ b/lxc/delete.go
@@ -31,8 +31,8 @@ Delete containers and snapshots.`)
 }
 
 func (c *deleteCmd) flags() {
-	gnuflag.BoolVar(&c.force, "f", false, i18n.G("Force the removal of stopped containers"))
-	gnuflag.BoolVar(&c.force, "force", false, i18n.G("Force the removal of stopped containers"))
+	gnuflag.BoolVar(&c.force, "f", false, i18n.G("Force the removal of running containers"))
+	gnuflag.BoolVar(&c.force, "force", false, i18n.G("Force the removal of running containers"))
 	gnuflag.BoolVar(&c.interactive, "i", false, i18n.G("Require user confirmation"))
 	gnuflag.BoolVar(&c.interactive, "interactive", false, i18n.G("Require user confirmation"))
 }


More information about the lxc-devel mailing list