-/* $OpenBSD: main.c,v 1.34 2018/01/03 05:39:56 ccardenas Exp $ */
+/* $OpenBSD: main.c,v 1.35 2018/02/24 10:39:35 phessler Exp $ */
/*
* Copyright (c) 2015 Reyk Floeter <reyk@openbsd.org>
{ "log", CMD_LOG, ctl_log, "(verbose|brief)" },
{ "reload", CMD_RELOAD, ctl_reload, "" },
{ "reset", CMD_RESET, ctl_reset, "[all|vms|switches]" },
+ { "show", CMD_STATUS, ctl_status, "[id]" },
{ "start", CMD_START, ctl_start, "\"name\""
" [-Lc] [-b image] [-r image] [-m size]\n"
"\t\t[-n switch] [-i count] [-d disk]*" },
-.\" $OpenBSD: vmctl.8,v 1.37 2018/01/03 08:17:18 jmc Exp $
+.\" $OpenBSD: vmctl.8,v 1.38 2018/02/24 10:39:35 phessler Exp $
.\"
.\" Copyright (c) 2015 Mike Larkin <mlarkin@openbsd.org>
.\"
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: January 3 2018 $
+.Dd $Mdocdate: February 24 2018 $
.Dt VMCTL 8
.Os
.Sh NAME
.It Cm status Op Ar id
Lists VMs running on the host, optionally listing just the selected VM
.Ar id .
+.It Cm show Op Ar id
+An alias for the
+.Cm status
+command.
.It Cm stop Ar id
Stops (terminates) a VM defined by the specified VM
.Ar id .