From: tb Date: Wed, 28 Apr 2021 17:44:35 +0000 (+0000) Subject: Use "new" vmctl syntax in the example. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=e0ec952ccfe8913f0d518a799ba5faad6f756372;p=openbsd Use "new" vmctl syntax in the example. --- diff --git a/usr.bin/script/script.1 b/usr.bin/script/script.1 index 373fc1ea9a1..7bc5593770a 100644 --- a/usr.bin/script/script.1 +++ b/usr.bin/script/script.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: script.1,v 1.18 2019/03/28 19:44:59 jmc Exp $ +.\" $OpenBSD: script.1,v 1.19 2021/04/28 17:44:35 tb Exp $ .\" $NetBSD: script.1,v 1.3 1994/12/21 08:55:41 jtc Exp $ .\" .\" Copyright (c) 1980, 1990, 1993 @@ -30,7 +30,7 @@ .\" .\" @(#)script.1 8.1 (Berkeley) 6/6/93 .\" -.Dd $Mdocdate: March 28 2019 $ +.Dd $Mdocdate: April 28 2021 $ .Dt SCRIPT 1 .Os .Sh NAME @@ -102,7 +102,7 @@ If not set, the Bourne shell is assumed. .Sh EXAMPLES Start a virtual machine and log all console output to a file: .Bd -literal -offset indent -$ script -c "vmctl start myvm -c" myvm.typescript +$ script -c "vmctl start -c myvm" myvm.typescript .Ed .Sh HISTORY A predecessor called