aboutsummaryrefslogtreecommitdiffstats
path: root/tech-support/labels/main.py
diff options
context:
space:
mode:
Diffstat (limited to 'tech-support/labels/main.py')
-rw-r--r--tech-support/labels/main.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tech-support/labels/main.py b/tech-support/labels/main.py
index c7d1f14..bb6cd23 100644
--- a/tech-support/labels/main.py
+++ b/tech-support/labels/main.py
@@ -18,7 +18,7 @@ parser.add_argument("--gondul-api", type=str,
help="Gondul API base. Overrides env GONDUL_API")
parser.add_argument("--gondul-switches", type=str,
help="Gondul switches endpoint. Overrides env GONDUL_SWITCHES_ENDPOINT")
-parser.add_argument("--match-switches", type=str, default="^e(.*)",
+parser.add_argument("--match-switches", type=str, default="^e([0-9]+-[0-9]+)",
help="Regex for matching switches")
parser.add_argument("--outfile", "-o", type=str, default=None,
help="Output (base) file name. Might be appended with numbers for cables.")