Skip to content

Commit f9b5c2f

Browse files
authored
Man page fixes (#1364)
- Highlighting for options (-x, --x) now doesn't strip the prefix (may be whitespace). - Escape sequences are now cross-platform compatible (directly taken by groff/troff [man's renderer]) - Now we check for the section before displaying the man pages. - On MacOS, there is HTTP(n) which is different from our HTTP(1). This used to conflict with it, and we showed the wrong page. Now we specifically ask foir HTTP(1). - Errors that might happen (e.g non executable man command) is now suppressed. So in the worst case (if anything regarding man execution goes wrong), we'll always display the manual. - Docs for man pages. - HTTPie man pages. - Epilog for the man pages (see also) - Auto-generated comments.
1 parent 76495cb commit f9b5c2f

File tree

13 files changed

+280
-204
lines changed

13 files changed

+280
-204
lines changed

docs/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ Synopsis:
279279
$ http [flags] [METHOD] URL [ITEM [ITEM]]
280280
```
281281
282-
See also `http --help`.
282+
See also `http --help` (and for systems where man pages are available, you can use `man http`).
283283
284284
### Examples
285285

0 commit comments

Comments
 (0)