mirror of
https://github.com/walles/moar.git
synced 2024-09-11 12:15:43 +03:00
parent
1faf60d615
commit
257b9e7bf5
@ -1,5 +1,7 @@
|
|||||||
Moar is a pager. It's designed to just do the right thing without any
|
Moar is a pager. It reads and displays UTF-8 encoded text from files or
|
||||||
configuration:
|
pipelines.
|
||||||
|
|
||||||
|
`moar` is designed to just do the right thing without any configuration:
|
||||||
|
|
||||||
![Moar displaying its own source code](screenshot.png)
|
![Moar displaying its own source code](screenshot.png)
|
||||||
|
|
||||||
|
3
moar.1
3
moar.1
@ -20,6 +20,9 @@ More information and screenshots: https://github.com/walles/moar#readme
|
|||||||
Inside of \fBmoar\fR, press
|
Inside of \fBmoar\fR, press
|
||||||
.B ?
|
.B ?
|
||||||
to access the built-in help.
|
to access the built-in help.
|
||||||
|
.PP
|
||||||
|
Input is expected to be (optionally compressed) UTF-8 text.
|
||||||
|
Invalid / unprintable characters are by default rendered as '?'.
|
||||||
.SH OPTIONS
|
.SH OPTIONS
|
||||||
Multiple-choice options all have the default value listed first.
|
Multiple-choice options all have the default value listed first.
|
||||||
.PP
|
.PP
|
||||||
|
2
moar.go
2
moar.go
@ -41,6 +41,8 @@ func printUsage(output io.Writer, flagSet *flag.FlagSet, printCommandline bool)
|
|||||||
_, _ = fmt.Fprintln(output, " moar < file")
|
_, _ = fmt.Fprintln(output, " moar < file")
|
||||||
_, _ = fmt.Fprintln(output)
|
_, _ = fmt.Fprintln(output)
|
||||||
_, _ = fmt.Fprintln(output, "Shows file contents. Compressed files will be transparently decompressed.")
|
_, _ = fmt.Fprintln(output, "Shows file contents. Compressed files will be transparently decompressed.")
|
||||||
|
_, _ = fmt.Fprintln(output, "Input is expected to be (possibly compressed) UTF-8 encoded text. Invalid /")
|
||||||
|
_, _ = fmt.Fprintln(output, "non-printable characters are by default rendered as '?'.")
|
||||||
_, _ = fmt.Fprintln(output)
|
_, _ = fmt.Fprintln(output)
|
||||||
_, _ = fmt.Fprintln(output, "More information + source code:")
|
_, _ = fmt.Fprintln(output, "More information + source code:")
|
||||||
_, _ = fmt.Fprintln(output, " <https://github.com/walles/moar#readme>")
|
_, _ = fmt.Fprintln(output, " <https://github.com/walles/moar#readme>")
|
||||||
|
Loading…
Reference in New Issue
Block a user