mirror of
https://github.com/httprunner/httprunner.git
synced 2026-09-05 15:37:35 +08:00
update help description
This commit is contained in:
+2
-3
@@ -7,7 +7,7 @@ import sys
|
|||||||
import unittest
|
import unittest
|
||||||
|
|
||||||
from httprunner import logger
|
from httprunner import logger
|
||||||
from httprunner.__about__ import __version__
|
from httprunner.__about__ import __description__, __version__
|
||||||
from httprunner.compat import is_py2
|
from httprunner.compat import is_py2
|
||||||
from httprunner.task import HttpRunner
|
from httprunner.task import HttpRunner
|
||||||
from httprunner.utils import (create_scaffold, get_python2_retire_msg,
|
from httprunner.utils import (create_scaffold, get_python2_retire_msg,
|
||||||
@@ -18,8 +18,7 @@ from httprunner.utils import (create_scaffold, get_python2_retire_msg,
|
|||||||
def main_hrun():
|
def main_hrun():
|
||||||
""" API test: parse command line options and run commands.
|
""" API test: parse command line options and run commands.
|
||||||
"""
|
"""
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(description=__description__)
|
||||||
description='HTTP test runner, not just about api test and load test.')
|
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
'-V', '--version', dest='version', action='store_true',
|
'-V', '--version', dest='version', action='store_true',
|
||||||
help="show version")
|
help="show version")
|
||||||
|
|||||||
Reference in New Issue
Block a user