shithub: vcrop

Download patch

ref: 9bab2acb506a1f70dcb92b2649279a6f0a86cc45
parent: 4ac8bd4ae86f086d26012320b30ac04ce20e9c94
author: telephil9 <telephil9@gmail.com>
date: Thu Nov 5 05:50:44 EST 2020

Added manpage

--- a/mkfile
+++ b/mkfile
@@ -1,7 +1,12 @@
 </$objtype/mkfile
 
+BIN=/$objtype/bin
 CFLAGS=-FTVw
 TARG=vcrop
 OFILES=vcrop.$O
+MAN=/sys/man/1
 
 </sys/src/cmd/mkone
+
+install:V: man
+
--- /dev/null
+++ b/vcrop.man
@@ -1,0 +1,25 @@
+.TH VCROP 1
+.SH NAME
+vcrop \- crop image visually
+.SH SYNOPSIS
+.B vcrop
+[
+.I file
+]
+.SH DESCRIPTION
+.I Vcrop
+displays an image read either from
+.B file
+or from
+.B standard input
+and allows to crop it interactively.
+.PP
+Button 1 initiate the selection of the area to preserve.
+.PP
+Button 3 brings up a menu of actions.
+.SH "SEE ALSO"
+.IR crop (1)
+.SH AUTHOR
+phil9
+.SH LICENSE
+MIT