When I was using Git Bash (Git For Windows) if a command (like
Schwern's answer is half correct. For what I was asking it is probably still the correct answer, I was just using the incorrect words. What I wanted wasn't this:
-F or --quit-if-one-screen Causes less to automatically exit if the entire file can be dis‐ played on the first screen.
That makes nothing appear for short output! If
less -F and your log is less than one screen, you see nothing.
What you probably want is
less -FX or maybe
-X or --no-init Disables sending the termcap initialization and deinitialization strings to the terminal. This is sometimes desirable if the deinitialization string does something unnecessary, like clear‐ ing the screen.
This question over at superuser led me to this.
-FX if the log is less than one screen then it just outputs it (as if by
-X will still open
less if the output is less than one screen but will leave it on the terminal if you quit, if you don't quit right away you can actually use
less like normal. Once you try to search though it brings it into "real" less and still does not wipe when done, which is annoying because the windows is not full of
less -X, but you will have to still press q.