From 37c86c378785b6756a2f68a51a03996a8391d9e6 Mon Sep 17 00:00:00 2001 From: Jason McIntyre Date: Sun, 17 Apr 2016 14:38:53 +0000 Subject: document text editors and use some Ar; from rob pierce --- share/man/man1/help.1 | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/share/man/man1/help.1 b/share/man/man1/help.1 index f726a3ab1d5..d67143c3296 100644 --- a/share/man/man1/help.1 +++ b/share/man/man1/help.1 @@ -1,4 +1,4 @@ -.\" $OpenBSD: help.1,v 1.1 2015/03/27 01:59:26 schwarze Exp $ +.\" $OpenBSD: help.1,v 1.2 2016/04/17 14:38:52 jmc Exp $ .\" .\" Copyright (c) 1999 Aaron Campbell .\" All rights reserved. @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: March 27 2015 $ +.Dd $Mdocdate: April 17 2016 $ .Dt HELP 1 .Os .Sh NAME @@ -88,7 +88,7 @@ in the system password file .It Cm man Interface to the system manual pages. For any of the commands listed below, type -.Ic man +.Ic man Ar command for detailed information on what it does and how to use it. .It Cm pwd Print working directory. @@ -109,12 +109,18 @@ Type for a detailed listing. .It Cm cat Although it has many more uses, -.Ic cat filename +.Ic cat Ar filename will print the contents of a plain-text file to the screen. +.It Cm vi +Edit text files. +For example, +.Ic vi Ar filename . +See also +.Xr mg 1 . .It Cm mkdir Make a directory. For example, -.Ic mkdir foobar . +.Ic mkdir Ar dirname . .It Cm rmdir Remove a directory. .It Cm rm -- cgit v1.2.3