Add vtallow.1

This commit is contained in:
sin 2014-12-05 15:41:13 +00:00
parent 4269d523e2
commit b0b8579eb3
3 changed files with 24 additions and 1 deletions

View File

@ -110,6 +110,7 @@ MAN1 = \
truncate.1 \
unshare.1 \
uptime.1 \
vtallow.1 \
watch.1 \
who.1

22
vtallow.1 Normal file
View File

@ -0,0 +1,22 @@
.Dd December 5, 2014
.Dt VTALLOW 1 ubase\-VERSION
.Os
.Sh NAME
.Nm vtallow
.Nd enable or disable the VT switch
.Sh SYNOPSIS
.Nm vtallow
.Ar n | Ar y
.Sh DESCRIPTION
.Nm
controls the VT switch lock.
.Pp
.Sh OPTIONS
.Bl -tag -width Ds
.It Ar n
Disable VT switching.
.It Ar y
Enable VT switching.
.El
.Sh SEE ALSO
.Xr chvt 1

View File

@ -18,7 +18,7 @@
static void
usage(void)
{
eprintf("usage: vtallow n|y\n");
eprintf("usage: vtallow n | y\n");
}
int