Commit 6ee25794 by Robert Vogelgesang Committed by Stéphane Graber

Fix lxc-stop's argument parsing

Change lxc-stop's argument parsing so that it matches what the help option and the man page both describe. Signed-off-by: 's avatarRobert Vogelgesang <vogel@users.sourceforge.net> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 1d1774b1
...@@ -54,8 +54,8 @@ static const struct option my_longopts[] = { ...@@ -54,8 +54,8 @@ static const struct option my_longopts[] = {
{"nowait", no_argument, 0, 'W'}, {"nowait", no_argument, 0, 'W'},
{"timeout", required_argument, 0, 't'}, {"timeout", required_argument, 0, 't'},
{"kill", no_argument, 0, 'k'}, {"kill", no_argument, 0, 'k'},
{"no-kill", no_argument, 0, OPT_NO_KILL}, {"nokill", no_argument, 0, OPT_NO_KILL},
{"no-lock", no_argument, 0, OPT_NO_LOCK}, {"nolock", no_argument, 0, OPT_NO_LOCK},
LXC_COMMON_OPTIONS LXC_COMMON_OPTIONS
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment