contrib/add_cosigner: print "usage: ..." if called incorrectly
This commit is contained in:
@@ -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__)))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user