diff options
author | Toni Uhlig <matzeton@googlemail.com> | 2018-09-19 00:38:39 +0200 |
---|---|---|
committer | Toni Uhlig <matzeton@googlemail.com> | 2018-09-19 00:38:39 +0200 |
commit | 61199f8b381b4ecbe90fab846e60ab5f4a1dcfb7 (patch) | |
tree | dc15372b1983e91ae0b18ee9b8ae1cca8420557e /contrib | |
parent | b762ebaa5ef755dc0df7e7bee97cc5bd29b17a5c (diff) |
added additional example2 csv row, python mock prints usage
Signed-off-by: Toni Uhlig <matzeton@googlemail.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/example2.csv | 1 | ||||
-rwxr-xr-x | contrib/mock.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/contrib/example2.csv b/contrib/example2.csv index dc2cb6c..bcd1a13 100644 --- a/contrib/example2.csv +++ b/contrib/example2.csv @@ -4,3 +4,4 @@ hostname,port,password,unused_column1,unused_column2,unused_columnN 0.0.0.0,80,1234,unused1,unused2,unusedN nonexistant.tld,80,,unused1,unused2,unusedN localhost,80,1234,unused,unused,unused +localhost,8000,1234,,, diff --git a/contrib/mock.py b/contrib/mock.py index bc70964..8797231 100755 --- a/contrib/mock.py +++ b/contrib/mock.py @@ -58,6 +58,8 @@ def post_setup_php(): if __name__ == '__main__': + if len(argv) == 1: + print 'usage: %s [PASSWORD] [HOST] [PORT]\n' % (argv[0]) try: PASSWORD = argv[1] except IndexError: |