1
0

contrib/add_cosigner: print "usage: ..." if called incorrectly

This commit is contained in:
SomberNight
2023-12-19 14:18:29 +00:00
parent d0276831fa
commit be9dc06aaf

View File

@@ -24,6 +24,10 @@ import importlib
import subprocess
if len(sys.argv) < 2:
print(f"usage: {os.path.basename(__file__)} <cosigner>", file=sys.stderr)
sys.exit(1)
# cd to project root
os.chdir(os.path.dirname(os.path.dirname(__file__)))