This commit is contained in:
2025-03-06 15:48:43 +01:00
parent 0e0df26041
commit 68f631ad8c

View File

@@ -9,7 +9,7 @@ from textwrap import indent
import yaml
try:
opts, args = getopt.getopt(sys.argv[1:], "gr", ["command=", "help", "output="])
opts, args = getopt.getopt(sys.argv[1:], "gp", ["command=", "help", "output="])
except getopt.GetoptError as err:
#usage()
sys.exit(2)
@@ -23,7 +23,7 @@ _DATE = "pick"
for o, a in opts:
if o == "-g":
_ACTION = "generate_config"
elif o in ("-r", "--registry"):
elif o in ("-p", "--push"):
_ACTION = "write_to_registry"
else:
print("Parameter unknown")