mention alias for poweroff in machinectl --help
authorChristian Rebischke <Chris.Rebischke@posteo.de>
Tue, 19 Jun 2018 22:53:23 +0000 (00:53 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Wed, 20 Jun 2018 06:11:03 +0000 (08:11 +0200)
This commit adds the stop alias to the output of `machinectl --help`.
In the past we only mention this in the man page. It's nice to mention
this in the output `machinectl --help` as well.

src/machine/machinectl.c

index d656681..9a5bf36 100644 (file)
@@ -2682,6 +2682,7 @@ static int help(int argc, char *argv[], void *userdata) {
                "  enable NAME...              Enable automatic container start at boot\n"
                "  disable NAME...             Disable automatic container start at boot\n"
                "  poweroff NAME...            Power off one or more containers\n"
+               "  stop NAME...\n"
                "  reboot NAME...              Reboot one or more containers\n"
                "  terminate NAME...           Terminate one or more VMs/containers\n"
                "  kill NAME...                Send signal to processes of a VM/container\n"