Guilty.

On Feb 10, 2018 17:56, "Sebastian Benoit" <be...@openbsd.org> wrote:

> Peter Hessler(phess...@openbsd.org) on 2018.02.11 00:51:57 +0100:
> > My fingers have typed "vmctl show" instead of "vmctl status" for over a
> > year now, so add it as an alias.
>
> oh yes please, i thought i was the only stupid one.
>
> > OK?
>
> ok
>
> > Index: main.c
> > ===================================================================
> > RCS file: /cvs/openbsd/src/usr.sbin/vmctl/main.c,v
> > retrieving revision 1.34
> > diff -u -p -u -p -r1.34 main.c
> > --- main.c    3 Jan 2018 05:39:56 -0000       1.34
> > +++ main.c    10 Feb 2018 23:46:44 -0000
> > @@ -68,6 +68,7 @@ struct ctl_command ctl_commands[] = {
> >       { "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]*" },
> > Index: vmctl.8
> > ===================================================================
> > RCS file: /cvs/openbsd/src/usr.sbin/vmctl/vmctl.8,v
> > retrieving revision 1.37
> > diff -u -p -u -p -r1.37 vmctl.8
> > --- vmctl.8   3 Jan 2018 08:17:18 -0000       1.37
> > +++ vmctl.8   10 Feb 2018 23:48:59 -0000
> > @@ -143,6 +143,10 @@ with '.', '-' or '_'.
> >  .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 .
> >
> >
> > --
> > Coito ergo sum
> >
>
>

Reply via email to