From 6ee257941cb985e12a097bc83d551fa323d8aad2 Mon Sep 17 00:00:00 2001 From: Robert Vogelgesang Date: Thu, 30 Jan 2014 16:18:50 +0100 Subject: [PATCH] Fix lxc-stop's argument parsing MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Change lxc-stop's argument parsing so that it matches what the help option and the man page both describe. Signed-off-by: Robert Vogelgesang Acked-by: Stéphane Graber --- src/lxc/lxc_stop.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lxc/lxc_stop.c b/src/lxc/lxc_stop.c index dc4133f5b..d8de2b01e 100644 --- a/src/lxc/lxc_stop.c +++ b/src/lxc/lxc_stop.c @@ -54,8 +54,8 @@ static const struct option my_longopts[] = { {"nowait", no_argument, 0, 'W'}, {"timeout", required_argument, 0, 't'}, {"kill", no_argument, 0, 'k'}, - {"no-kill", no_argument, 0, OPT_NO_KILL}, - {"no-lock", no_argument, 0, OPT_NO_LOCK}, + {"nokill", no_argument, 0, OPT_NO_KILL}, + {"nolock", no_argument, 0, OPT_NO_LOCK}, LXC_COMMON_OPTIONS }; -- 2.47.2