summary refs log tree commit diff
path: root/scripts-dev
diff options
context:
space:
mode:
authorMark Haines <mark.haines@matrix.org>2015-09-23 10:45:33 +0100
committerMark Haines <mark.haines@matrix.org>2015-09-23 10:45:33 +0100
commit314aabba82d382d36f9ac91050e77deb6018fbcd (patch)
treef8bc98a00d5a01e422de3125dd51f5ab873c93a8 /scripts-dev
parentRemove unused _execute_and_decode from scripts/synapse_port_db (diff)
downloadsynapse-314aabba82d382d36f9ac91050e77deb6018fbcd.tar.xz
Fix scripts-dev/definitions.py argparse options
Diffstat (limited to '')
-rwxr-xr-xscripts-dev/definitions.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts-dev/definitions.py b/scripts-dev/definitions.py
index 934bc4a3d8..f0d0cd8a3f 100755
--- a/scripts-dev/definitions.py
+++ b/scripts-dev/definitions.py
@@ -102,7 +102,7 @@ if __name__ == '__main__':
         "--ignore", action="append", metavar="REGEXP", help="Ignore a pattern"
     )
     parser.add_argument(
-        "--pattern", nargs='+', action="append", metavar="REGEXP",
+        "--pattern", action="append", metavar="REGEXP",
         help="Search for a pattern"
     )
     parser.add_argument(