Skip to content

Commit

Permalink
Improve man page for better apropos results
Browse files Browse the repository at this point in the history
The man page could be improved to have better apropos(1) results. IOW,
to make the program appear with search terms that come to mind first,
as "make image" is true but too abstract. See attached patch.

Background: I was looking for avaliable screenshot tools, I knew I had
more installed and had no idea why at least one was missing. I ended
finding it again because I remembered about slop (which IMHO could
also get the man page name section improved), "apropos select"
worked. The use will be a bash oneliner like "zbarimg -q <( maim -f
png ) | xsel" to decode barcodes that are on screen and load them into
the selection.

This is forwarded from a Debian bug report: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=981706
  • Loading branch information
anarcat authored Mar 31, 2022
1 parent b52bc91 commit 6dece3f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions maim.1
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
.\" Manpage for maim.
.\" Contact naelstrof@gmail.com to correct errors or typos.
.TH maim 1 2017-03-21 Linux "maim man page"
.TH maim 1 2021-02-03 Linux "maim man page"
.SH NAME
maim \- make image
maim \- capture screenshot of desktop and make image
.SH SYNOPSIS
maim [OPTIONS] [FILEPATH]
.SH DESCRIPTION
Expand Down

0 comments on commit 6dece3f

Please sign in to comment.