5 ms·
I use httpie all the time, and it's great. One thing has always bugged me, maybe someone knows how to fix it. This command works fine: $ http example.com
by tedmiston 11y ago
I use httpie all the time, and it's great.
One thing has always bugged me, maybe someone knows how to fix it.
This command works fine:
$ http example.com
And http symlinks to the right binary:
$ which http
/usr/local/bin/http
$ ls -l /usr/local/bin/
...
lrwxr-xr-x 1 taylor admin 31 Jun 25 2014 http -> ../Cellar/httpie/0.8.0/bin/http
...
But man shows a different executable:
$ man http
...
NAME
http - Client-side implementation of the HTTP/1.1 protocol
...
- Sir_Cmpwn 11y agoI'm pretty sure it does not have a man page. Read http --help instead.
- organsnyder 11y agoManpages are completely separate from executables. They reside in /usr/share/man (and perhaps /usr/local/share/man—not sure if that's used). Manpages for user commands are in the 1 category, so they'd be in /usr/share/man/man1. If there is a manpage, it's possible that another manpage exists with the same name, but in a different category (such as a system call). In that case, running "man 1 http" will restrict man to only look for a user command manpage.
- omribahumi 11y agoI usually do "man -a" when simple "man" doesn't hit the right man page.
- takeda 11y agoThis looks like a man page from Tcl's http module. Perhaps httpie does not have a man page. Http is a very generic name, they should call the binary differently (maybe httpie?) to not conflict with other things.
- goodcjw2 11y agoI cannot repro your man output on Ubuntu... I am wondering what 'man 1 http' will look like in OSX