fix: remove the type argument when using add_argument

This commit is contained in:
Matthieu Pignolet 2025-05-25 11:52:09 +04:00
parent e499becd2b
commit 5d0fa56bf3
No known key found for this signature in database
GPG key ID: 892400B3FD4E40FB

View file

@ -743,7 +743,7 @@ def main():
parser.add_argument("--ip", help="The address of your MikroTik router")
parser.add_argument("--username", help="SSH username (RO account can be used)")
parser.add_argument("--password", help="SSH password")
parser.add_argument("--skip-confirmation", action='store_true', type=bool, help='Skips the confirmation prompt (disclamer: ensure that your are allowed to use this tool)')
parser.add_argument("--skip-confirmation", action='store_true', help='Skips the confirmation prompt (disclamer: ensure that your are allowed to use this tool)')
parser.add_argument("--port", type=int, default=22, help="SSH port (default: 22)")
args = parser.parse_args()