mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-29 20:59:00 +00:00
less: Add the -F
option to quit if the input fits on one screen
This commit is contained in:
parent
938a287d3e
commit
ebb822def9
Notes:
sideshowbarker
2024-07-16 16:23:32 +09:00
Author: https://github.com/tcl3
Commit: ebb822def9
Pull-request: https://github.com/SerenityOS/serenity/pull/21222
2 changed files with 18 additions and 2 deletions
|
@ -23,6 +23,7 @@ but largely incompatible with
|
|||
* `-X`, `--no-init`: Don't switch to the xterm alternate buffer on startup.
|
||||
* `-N`, `--line-numbers`: Show line numbers before printed lines.
|
||||
* `-e`, `--quit-at-eof`: Immediately exit less when the last line of the document is reached.
|
||||
* `-F`, `--quit-if-one-screen`: Exit immediately if the entire file can be displayed on one screen.
|
||||
* `-m`, `--emulate-more`: Apply `-Xe`, set the prompt to `--More--`, and disable
|
||||
scrollback. This option is automatically applied when `less` is executed as `more`
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue