diff --git a/docs/Installation.rst b/docs/Installation.rst index f6a9439c..6fbe266d 100644 --- a/docs/Installation.rst +++ b/docs/Installation.rst @@ -32,18 +32,18 @@ This option works on each installation method described above. :: Check Installation ------------------ -When HttpRunner is installed, a **httprunner** command should be available in your shell (if you're not using +When HttpRunner is installed, a **httprunner** (**hrun** for short) command should be available in your shell (if you're not using virtualenv—which you should—make sure your python script directory is on your path). To see ``HttpRunner`` version: :: - $ httprunner -V + $ httprunner -V # same as: hrun -V HttpRunner version: 0.8.1b PyUnitReport version: 0.1.3b To see available options, run:: - $ httprunner -h + $ httprunner -h # same as: hrun -h usage: httprunner [-h] [-V] [--log-level LOG_LEVEL] [--report-name REPORT_NAME] [--failfast] [--startproject STARTPROJECT] [testset_paths [testset_paths ...]] diff --git a/setup.py b/setup.py index fdb59351..9bfc8268 100644 --- a/setup.py +++ b/setup.py @@ -35,6 +35,7 @@ setup( 'console_scripts': [ 'ate=httprunner.cli:main_ate', 'httprunner=httprunner.cli:main_ate', + 'hrun=httprunner.cli:main_ate', 'locusts=httprunner.cli:main_locust' ] }