Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Updated help text and README

  • Loading branch information...
commit 96ef359a7afbf9eadcd9743dcd1f0af4f4156338 1 parent c681359
Dave Hunt authored November 22, 2012

Showing 2 changed files with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  README.md
  2. 2  pytest_zap.py
4  README.md
Source Rendered
@@ -25,9 +25,11 @@ For full usage details run the following command:
25 25
       --zap-path=path     location of zap installation.
26 26
       --zap-home=path     location of zap home directory.
27 27
       --zap-config=path   location of zap configuration file. (default: zap.cfg)
28  
-      --zap-url=url       address zap is listening on. (default: http://localhost:8080)
  28
+      --zap-host=str      host zap is listening on. (default: localhost)
  29
+      --zap-port=int      port zap is listening on. (default: 8080)
29 30
       --zap-target=url    target url for spider and scan.
30 31
       --zap-spider        spider the target. (default: False)
31 32
       --zap-scan          scan the target. (default: False)
  33
+      --zap-save-session  save the zap session in zap.session within home directory. (default: False)
32 34
       --zap-ignore=path   location of ignored alerts text file. (default: zap_ignore.txt)
33 35
       --zap-cert=path     location of ssl certificate. (default: zap.cert)
2  pytest_zap.py
@@ -66,7 +66,7 @@ def pytest_addoption(parser):
66 66
         action='store_true',
67 67
         dest='zap_save_session',
68 68
         default=False,
69  
-        help='save the zap session in zap.session within home directory')
  69
+        help='save the zap session in zap.session within home directory. (default: %default)')
70 70
     group._addoption('--zap-ignore',
71 71
         action='store',
72 72
         dest='zap_ignore',

0 notes on commit 96ef359

Please sign in to comment.
Something went wrong with that request. Please try again.