mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-07-27 01:37:52 +00:00
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: Robert Vogelgesang <vogel@users.sourceforge.net> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
1d1774b1ac
commit
6ee257941c
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user