On Sat, Mar 16, 2019 at 09:31:39PM +0100, Klemens Nanni wrote:
> On Thu, Mar 07, 2019 at 10:21:50PM +0100, Klemens Nanni wrote:
> >     # vmctl start 1
> >     vmctl: started vm 1 successfully, tty /dev/ttypo
> >     # vmctl stop 1 -f
> >     stopping vm: forced to terminate vm 1
> >     # vmctl start a
> >     vmctl: started vm 2 successfully, tty /dev/ttypo
> > 
> > That is wonky, but I see how `start' must indeed accept IDs in the case
> > of predefined VMs.
> > 
> > I'll work on docs to clarify this further without touching code, thanks.
> How about this?
> 
> Index: usr.sbin/vmctl/vmctl.8
> ===================================================================
> RCS file: /cvs/src/usr.sbin/vmctl/vmctl.8,v
> retrieving revision 1.61
> diff -u -p -r1.61 vmctl.8
> --- usr.sbin/vmctl/vmctl.8    7 Mar 2019 18:54:05 -0000       1.61
> +++ usr.sbin/vmctl/vmctl.8    16 Mar 2019 20:31:07 -0000
> @@ -233,6 +233,11 @@ The instance will inherit settings from 
>  except for exclusive options such as disk, interface lladdr, or
>  interface names.
>  .El
> +.Pp
> +For existing VMs,
> +.Ar name
> +may be the numerical
> +.Ar id .
>  .It Cm status Op Ar id
>  Lists VMs running on the host, optionally listing just the selected VM
>  .Ar id .
> 

hi.

i think more properly we should show

        -t id | name

then all the bits that refer to "id" in that doc make sense. and your
text can just say

        Use an existing VM with the specified
        .Ar id
        or
        .Ar name
        as a template ...

jmc

Reply via email to