mirror of
https://github.com/walles/moar.git
synced 2024-08-17 07:50:35 +03:00
Mention transparent decompression in --help message
This commit is contained in:
parent
ce8ef9d1cc
commit
a710033d6f
@ -22,7 +22,7 @@ Doing the right thing includes:
|
||||
* Supports displaying ANSI color coded texts (like the output from
|
||||
`git diff` [| `riff`](https://github.com/walles/riff) for example)
|
||||
* Supports UTF-8 input and output
|
||||
* Automatic decompression of compressed files (`.gz`, `.bz2`, `.xz`)
|
||||
* **Automatic decompression** of compressed files (`.gz`, `.bz2`, `.xz`)
|
||||
* The position in the file is always shown
|
||||
* Supports **word wrapping** (on actual word boundaries) if requested using
|
||||
`--wrap` or by pressing <kbd>w</kbd>
|
||||
|
2
moar.go
2
moar.go
@ -38,6 +38,8 @@ func printUsage(output io.Writer, flagSet *flag.FlagSet, printCommandline bool)
|
||||
_, _ = fmt.Fprintln(output, " moar [options] <file>")
|
||||
_, _ = fmt.Fprintln(output, " ... | moar")
|
||||
_, _ = fmt.Fprintln(output, " moar < file")
|
||||
_, _ = fmt.Fprintln(output, "")
|
||||
_, _ = fmt.Fprintln(output, "Shows file contents. Compressed files will be transparently decompressed.")
|
||||
_, _ = fmt.Fprintln(output)
|
||||
_, _ = fmt.Fprintln(output, "Environment:")
|
||||
if len(moarEnv) == 0 {
|
||||
|
Loading…
Reference in New Issue
Block a user