]> git.ipfire.org Git - thirdparty/util-linux.git/commit
more: use getopt_long() to parse options
authorSami Kerola <kerolasa@iki.fi>
Sat, 28 Mar 2020 15:09:00 +0000 (15:09 +0000)
committerSami Kerola <kerolasa@iki.fi>
Mon, 13 Apr 2020 11:14:08 +0000 (12:14 +0100)
commite3cb27f5358ccdd8c4a10ccf13e0f37ab9953332
tree4130cc706e423dbb06540b245f48ca839f6b7b0c
parent94bece3c229082758ec1f59f9eb4f3567ec523eb
more: use getopt_long() to parse options

This commit also includes fix to how initial skip lines and search are
instructed in the code.  Earlier version was pretty close impossible to make
work with getopt_long() and had minor flaw - if both initial skip lines and
search were defined at the same time the skipping did not happen.  That is
now corrected.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
bash-completion/more
text-utils/Makemodule.am
text-utils/more.1
text-utils/more.c