manpages: fix options and examples
This commit is contained in:
+21
-7
@@ -2,13 +2,27 @@
|
||||
.TH ELVIS 1x
|
||||
.CD "elvis \(en clone of the Berkeley vi editor"
|
||||
.SX "elvis \fR[\fB\(enRerv\fR] [\fB\(ent \fItag\fR] \fR[\fIfile\fR] ..."
|
||||
.FL "\(enR" "Set the read-only option"
|
||||
.FL "\(ene" "Start up emulating \fIex\fR"
|
||||
.FL "\(enr" "Tell the user to use \fIelvrec\fR instead
|
||||
.FL "\(ent" "Start editing at the given tag"
|
||||
.FL "\(env" "Start up emulating \fIvi\fR"
|
||||
.EX "elvis" "Call the editor"
|
||||
.EX "elvis prog.c" "edit \fIprog.c\fR"
|
||||
.TP 5
|
||||
.B \(enR
|
||||
# Set the read-only option
|
||||
.TP 5
|
||||
.B \(ene
|
||||
# Start up emulating \fIex\fR
|
||||
.TP 5
|
||||
.B \(enr
|
||||
# Tell the user to use \fIelvrec\fR instead
|
||||
.TP 5
|
||||
.B \(ent
|
||||
# Start editing at the given tag
|
||||
.TP 5
|
||||
.B \(env
|
||||
# Start up emulating \fIvi\fR
|
||||
.TP 20
|
||||
.B elvis
|
||||
# Call the editor
|
||||
.TP 20
|
||||
.B elvis prog.c
|
||||
# edit \fIprog.c\fR
|
||||
.PP
|
||||
\fIElvis\fR is a full-screen editor closely modeled on the famous Berkeley
|
||||
\fIvi\fR editor.
|
||||
|
||||
+9
-3
@@ -3,9 +3,15 @@
|
||||
.CD "mined \(en \*(M2 editor"
|
||||
.SX "mined\fR [\fIfile\fR]
|
||||
.FL "\fR(none)"
|
||||
.EX "mined /user/ast/book.3" "Edit an existing file"
|
||||
.EX "mined" "Call editor to create a new file"
|
||||
.EX "ls \(enl | mined" "Use \fImined\fR as a pager to inspect listing"
|
||||
.TP 20
|
||||
.B mined /user/ast/book.3
|
||||
# Edit an existing file
|
||||
.TP 20
|
||||
.B mined
|
||||
# Call editor to create a new file
|
||||
.TP 20
|
||||
.B ls \(enl | mined
|
||||
# Use \fImined\fR as a pager to inspect listing
|
||||
.PP
|
||||
\fIMined\fR is a simple screen editor.
|
||||
At any instant, a window of 24 lines is visible on the screen.
|
||||
|
||||
Reference in New Issue
Block a user