tAdd draft manpage - ve - a minimal text editor (work in progress) | |
git clone git://src.adamsgaard.dk/ve | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit d26d84ab2500b4953b64a224992b974edba9d9d3 | |
parent 1bc14ba4486a54f84e5ddfe2a6b67da1479e0e60 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Wed, 7 Aug 2019 22:29:27 +0200 | |
Add draft manpage | |
Diffstat: | |
M Makefile | 2 -- | |
A ve.1 | 31 +++++++++++++++++++++++++++++… | |
2 files changed, 31 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -2,8 +2,6 @@ | |
include config.mk | |
-CFLAGS = -g -std=c99 -pedantic -Wall -Wextra | |
-LDFLAGS = | |
SRC = ve.c | |
OBJ = $(SRC:.c=.o) | |
BIN = ve | |
diff --git a/ve.1 b/ve.1 | |
t@@ -0,0 +1,30 @@ | |
+.TH VE 1 ve\-VERSION | |
+.SH NAME | |
+ve \- minimal text editor | |
+.SH SYNOPSIS | |
+.B ve | |
+.RB [ \-h ] | |
+.RB [ \-v ] | |
+.RI [ "file ..." ] | |
+.SH DESCRIPTION | |
+.B ve | |
+is a tiny text editor with a vi-like user interface. | |
+.SH OPTIONS | |
+.TP | |
+.B \-h | |
+shows help and exits. | |
+.TP | |
+.B \-v | |
+shows version and license information, then exits. | |
+.SH USAGE | |
+.TP | |
+.B i | |
+enter INSERT mode | |
+ | |
+.SH SEE ALSO | |
+.BR vi(1), | |
+.BR vim(1) | |
+.SH BUGS | |
+Please report found bugs at https://gitlab.com/admesg/ve/issues | |
+.SH AUTHOR | |
+Anders Damsgaard ([email protected]) | |
+\ No newline at end of file |