From a5f2aae4ab6bb673db48aafa6144c57d825f7ba1 Mon Sep 17 00:00:00 2001 From: ludeeus Date: Wed, 8 Apr 2020 13:04:59 +0000 Subject: [PATCH] require 2 args --- scripts/remove_repo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/remove_repo.py b/scripts/remove_repo.py index 5334cd8..044ac3a 100644 --- a/scripts/remove_repo.py +++ b/scripts/remove_repo.py @@ -2,7 +2,7 @@ import sys import json -if len(sys.argv) < 2: +if len(sys.argv) < 3: print(' Usage: python3 scripts/remove_repo.py [repository] [removal_type] "[reason]" [link]') exit(1)