Made password optional

This commit is contained in:
Kevin Veen-Birkenbach 2023-12-26 04:01:29 +01:00
parent 7853283ef3
commit 540797f244

View File

@ -35,7 +35,7 @@ def main():
parser.add_argument("host", help="Database host")
parser.add_argument("database", help="Database name")
parser.add_argument("username", help="Username")
parser.add_argument("password", help="Password")
parser.add_argument("password", nargs='?', default="", help="Password (optional)")
args = parser.parse_args()