]> git.proxmox.com Git - mirror_lxc.git/commitdiff
tools: lxc-destroy: update help message for --force
authorPo-Hsu Lin <po-hsu.lin@canonical.com>
Wed, 19 Oct 2022 03:59:34 +0000 (11:59 +0800)
committerPo-Hsu Lin <po-hsu.lin@canonical.com>
Wed, 19 Oct 2022 04:57:29 +0000 (12:57 +0800)
Looks like the --force is a flag to stop a running container before
destroying it.

Update the help message accordingly.

Signed-off-by: Po-Hsu Lin <po-hsu.lin@canonical.com>
src/lxc/tools/lxc_destroy.c

index e0fb09c576682e85cf00c8e683c20dac3bad77cd..fd5cab801bb40fb1f7c9bd083c1bb7857cf5ce40 100644 (file)
@@ -38,7 +38,7 @@ lxc-destroy destroys a container with the identifier NAME\n\
 Options :\n\
   -n, --name=NAME   NAME of the container\n\
   -s, --snapshots   destroy including all snapshots\n\
-  -f, --force       wait for the container to shut down\n\
+  -f, --force       stop and destroy the container if it's still running\n\
   --rcfile=FILE     Load configuration file FILE\n",
        .options      = my_longopts,
        .parser       = my_parser,