From aeea5d98a7c120d03bbbc0ae41315cd32631689a Mon Sep 17 00:00:00 2001 From: Alex <61382599+NeffIsBack@users.noreply.github.com> Date: Sun, 28 May 2023 13:50:52 +0200 Subject: [PATCH] Fix format --- cme/protocols/ssh.py | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/cme/protocols/ssh.py b/cme/protocols/ssh.py index 19be4651..e9ff3f7a 100644 --- a/cme/protocols/ssh.py +++ b/cme/protocols/ssh.py @@ -25,22 +25,13 @@ class ssh(connection): @staticmethod def proto_args(parser, std_parser, module_parser): - ssh_parser = parser.add_parser( - "ssh", - help="own stuff using SSH", - parents=[std_parser, module_parser] - ) + ssh_parser = parser.add_parser("ssh", help="own stuff using SSH", parents=[std_parser, module_parser]) ssh_parser.add_argument( "--key-file", type=str, help=("Authenticate using the specified private key. Treats the password" " parameter as the key's passphrase."), ) - ssh_parser.add_argument( - "--port", - type=int, - default=22, - help="SSH port (default: 22)" - ) + ssh_parser.add_argument("--port", type=int, default=22, help="SSH port (default: 22)") cgroup = ssh_parser.add_argument_group("Command Execution", "Options for executing commands") cgroup.add_argument("--no-output", action="store_true", help="do not retrieve command output")