1
0
Fork 0

added help for weird API

This commit is contained in:
Christian Kühnel 2019-10-16 13:52:29 +02:00
parent 580a6ebae0
commit e46b8172e0

View file

@ -111,7 +111,8 @@ def main():
parser.add_argument('--test-result-file', type=str, dest='test_result_file',
default=os.path.join(os.path.curdir,'test-results.xml'))
parser.add_argument('--conduit-token', type=str, dest='conduit_token', default=None)
parser.add_argument('--host', type=str, dest='host', default="None")
parser.add_argument('--host', type=str, dest='host', default="None",
help="full URL to API with trailing slash, e.g. https://reviews.llvm.org/api/")
args = parser.parse_args()
p = PhabTalk(args.conduit_token, args.host)