The following pull request was submitted through Github.
It can be accessed and reviewed at: https://github.com/lxc/lxd/pull/2128

This e-mail was sent by the LXC bot, direct replies will not reach the author
unless they happen to be subscribed to this list.

=== Description (from pull-request) ===
Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
From 3c55598a3a45a1cfea32aebb6eae72b2ba1f4745 Mon Sep 17 00:00:00 2001
From: Tycho Andersen <tycho.ander...@canonical.com>
Date: Thu, 16 Jun 2016 08:32:00 -0600
Subject: [PATCH] similar to lxc delete, add a -f shortcut to lxc stop

Signed-off-by: Tycho Andersen <tycho.ander...@canonical.com>
---
 lxc/action.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lxc/action.go b/lxc/action.go
index 1cf6a13..dfb3044 100644
--- a/lxc/action.go
+++ b/lxc/action.go
@@ -34,6 +34,7 @@ lxc %s <name> [<name>...]`), c.name, c.name)
 func (c *actionCmd) flags() {
        if c.hasTimeout {
                gnuflag.IntVar(&c.timeout, "timeout", -1, i18n.G("Time to wait 
for the container before killing it."))
+               gnuflag.BoolVar(&c.force, "f", false, i18n.G("Force the 
container to shutdown."))
                gnuflag.BoolVar(&c.force, "force", false, i18n.G("Force the 
container to shutdown."))
        }
        gnuflag.BoolVar(&c.stateful, "stateful", false, i18n.G("Store the 
container state (only for stop)."))
_______________________________________________
lxc-devel mailing list
lxc-devel@lists.linuxcontainers.org
http://lists.linuxcontainers.org/listinfo/lxc-devel

Reply via email to