[hackers] [ubase] Add vtallow.1 || sin

From: <git_AT_suckless.org>
Date: Fri, 05 Dec 2014 16:41:25 +0100

commit b0b8579eb3c4add4f02b88b2332bd92ba788d3bd
Author: sin <sin_AT_2f30.org>
Date: Fri Dec 5 15:41:13 2014 +0000

    Add vtallow.1

diff --git a/Makefile b/Makefile
index a640f50..a74824f 100644
--- a/Makefile
+++ b/Makefile
_AT_@ -110,6 +110,7 @@ MAN1 = \
         truncate.1 \
         unshare.1 \
         uptime.1 \
+ vtallow.1 \
         watch.1 \
         who.1
 
diff --git a/vtallow.1 b/vtallow.1
new file mode 100644
index 0000000..9e96077
--- /dev/null
+++ b/vtallow.1
_AT_@ -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
diff --git a/vtallow.c b/vtallow.c
index 03d67a5..28edea3 100644
--- a/vtallow.c
+++ b/vtallow.c
_AT_@ -18,7 +18,7 @@
 static void
 usage(void)
 {
- eprintf("usage: vtallow n|y\n");
+ eprintf("usage: vtallow n | y\n");
 }
 
 int
Received on Fri Dec 05 2014 - 16:41:25 CET

This archive was generated by hypermail 2.3.0 : Fri Dec 05 2014 - 16:48:09 CET