summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2016-04-17 14:38:53 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2016-04-17 14:38:53 +0000
commit37c86c378785b6756a2f68a51a03996a8391d9e6 (patch)
tree52c59f9b15df8cfb28cacae0f3cb8a2f724cf30e
parent50e75280ec426add28369abfa67b5c3d0906143d (diff)
document text editors and use some Ar; from rob pierce
-rw-r--r--share/man/man1/help.116
1 files 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 <command>
+.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