Skip to content

Commit

Permalink
Updated manpage
Browse files Browse the repository at this point in the history
  • Loading branch information
eribertomota committed Jan 10, 2023
1 parent e4fc86c commit 2f2711e
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 10 deletions.
4 changes: 2 additions & 2 deletions man/create-man.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ txt2man -d "$T2M_DATE" -t $T2M_NAME -r $T2M_NAME-$T2M_VERSION -s $T2M_LEVEL -v "
#--------------------------------------------------------

# Put here all data for your first manpage (in T2M lines)
T2M_DATE="09 Nov 2021"
T2M_DATE="09 Jan 2023"
T2M_NAME=scrot
T2M_VERSION=1.7
T2M_VERSION=1.8
T2M_LEVEL=1
T2M_DESC="command line screen capture utility"
create-man
22 changes: 15 additions & 7 deletions man/scrot.1
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
.\" Text automatically generated by txt2man
.TH scrot 1 "09 Nov 2021" "scrot-1.7" "command line screen capture utility"
.TH scrot 1 "09 Jan 2023" "scrot-1.8" "command line screen capture utility"
.SH NAME
\fBscrot \fP- command line screen capture utility
\fB
.SH SYNOPSIS
.nf
.fam C
\fBscrot\fP [\fB-bcfhikmopsuvz\fP] [\fB-a\fP \fIX,Y,W,H\fP] [\fB-C\fP \fINAME\fP] [\fB-D\fP \fIDISPLAY\fP] [\fB-d\fP \fISEC\fP] [\fB-e\fP \fICMD\fP]
[\fB-F\fP \fIFILE\fP] [\fB-l\fP \fISTYLE\fP] [\fB-n\fP \fIOPTS\fP] [\fB-q\fP \fINUM\fP] [\fB-S\fP \fICMD\fP] [\fB-t\fP \fINUM\fP | \fIGEOM\fP] [\fIFILE\fP]
\fBscrot\fP [\fB-bcfhimopuvz\fP] [\fB-a\fP \fIX,Y,W,H\fP] [\fB-C\fP \fINAME\fP] [\fB-D\fP \fIDISPLAY\fP] [\fB-d\fP \fISEC\fP] [\fB-e\fP \fICMD\fP]
[\fB-F\fP \fIFILE\fP] [\fB-k\fP \fIOPT\fP] [\fB-l\fP \fISTYLE\fP] [\fB-M\fP \fINUM\fP] [\fB-n\fP \fIOPTS\fP] [\fB-q\fP \fINUM\fP] [\fB-S\fP \fICMD\fP] [\fB-s\fP \fIOPTS\fP]
[\fB-t\fP \fINUM\fP | \fIGEOM\fP] [\fIFILE\fP]

.fam T
.fi
Expand Down Expand Up @@ -81,9 +82,9 @@ Display help and exit.
Don't exit for keyboard input. ESC still exits.
.TP
.B
\fB-k\fP, \fB--stack\fP OPT
\fB-k\fP, \fB--stack\fP \fIOPT\fP
Capture stack/overlapped windows and join them. A
running Composite Manager is needed. OPT it's optional
running Composite Manager is needed. \fIOPT\fP it's optional
join letter: v/h (vertical/horizontal). Default: h
.TP
.B
Expand All @@ -92,6 +93,10 @@ join letter: v/h (vertical/horizontal). Default: h
option is used; see SELECTION \fISTYLE\fP.
.TP
.B
\fB-M\fP, \fB--monitor\fP \fINUM\fP
Capture Xinerama monitor number \fINUM\fP.
.TP
.B
\fB-m\fP, \fB--multidisp\fP
For multiple heads, screenshot all of them in order.
.TP
Expand Down Expand Up @@ -122,10 +127,10 @@ file size. Default: 75.
\fICMD\fP is an imlib2 script.
.TP
.B
\fB-s\fP, \fB--select\fP OPT
\fB-s\fP, \fB--select\fP \fIOPTS\fP
Interactively select a window or rectangle with the
mouse, use the arrow keys to resize. See the \fB-l\fP and
\fB-f\fP options. OPT it's optional; see SELECTION MODE
\fB-f\fP options. \fIOPTS\fP it's optional; see SELECTION MODE
.TP
.B
\fB-t\fP, \fB--thumb\fP \fINUM\fP | \fIGEOM\fP
Expand Down Expand Up @@ -169,6 +174,7 @@ recognised by \fBscrot\fP:
$s The image's size in bytes (ignored when used in the filename).
$t The image's file format (ignored when used in the filename).
$w The image's width.
$W The name of the window (only for --select and --focused).
\\n A literal newline (ignored when used in the filename).

.fam T
Expand Down Expand Up @@ -290,6 +296,8 @@ Example:

.fam T
.fi
.SH SEE ALSO
\fBoptipng\fP(1)
.SH AUTHOR
\fBscrot\fP was originally developed by Tom Gilbert.
.PP
Expand Down
5 changes: 4 additions & 1 deletion man/scrot.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ SPECIAL STRINGS
$s The image's size in bytes (ignored when used in the filename).
$t The image's file format (ignored when used in the filename).
$w The image's width.
$W The name of the window (only for --select and --focused)
$W The name of the window (only for --select and --focused).
\\n A literal newline (ignored when used in the filename).

Example:
Expand Down Expand Up @@ -172,6 +172,9 @@ NOTE FORMAT
$ scrot -n "-f '/usr/share/fonts/TTF/DroidSans-Bold/40' -x 10
-y 20 -c 255,0,0,255 -t 'Hi'"

SEE ALSO
optipng(1)

AUTHOR
scrot was originally developed by Tom Gilbert.

Expand Down

0 comments on commit 2f2711e

Please sign in to comment.