reorx / httpstat

curl statistics made simple
MIT License
5.94k stars 384 forks source link

Update demonstration command in README.md #6

Closed xowenx closed 7 years ago

xowenx commented 8 years ago

Using module method by default instead of running script cause httpstat.py not in env PATH when installed by pip.

reorx commented 7 years ago

Thanks bro, how did you find this 233. python -m httpstat is a good try but I'm afraid it's not what I want it to be used. httpstat is recommended to use as a single file script in first priority (as said in Installation), thus the usage demo is also written for that, pip and brew are just alternatives. Besides, if httpstat is pip installed, httpstat will be a available command and no python -m is needed.