#NEWLINE# def get_parser( self , prog_name ) : #NEWLINE# #INDENT# parser = super ( SshServer , self ) . get_parser ( prog_name ) #NEWLINE# parser . add_argument ( 'server' , metavar = '<server>' , help = _ ( 'Server (name or ID)' ) ) #NEWLINE# parser . add_argument ( '--login' , metavar = '<login-name>' , help = _ ( 'Login name (ssh -l option)' ) ) #NEWLINE# parser . add_argument ( '-l' , dest = 'login' , metavar = '<login-name>' , help = argparse . SUPPRESS ) #NEWLINE# parser . add_argument ( '--port' , metavar = '<port>' , type = int , help = _ ( 'Destination port (ssh -p option)' ) ) #NEWLINE# parser . add_argument ( '-p' , metavar = '<port>' , dest = 'port' , type = int , help = argparse . SUPPRESS ) #NEWLINE# parser . add_argument ( '--identity' , metavar = '<keyfile>' , help = _ ( 'Private key file (ssh -i option)' ) ) #NEWLINE# parser . add_argument ( '-i' , metavar = '<filename>' , dest = 'identity' , help = argparse . SUPPRESS ) #NEWLINE# parser . add_argument ( '--option' , metavar = '<config-options>' , help = _ ( 'Options in ssh_config(5) format (ssh -o option)' ) ) #NEWLINE# parser . add_argument ( '-o' , metavar = '<option>' , dest = 'option' , help = argparse . SUPPRESS ) #NEWLINE# ip_group = parser . add_mutually_exclusive_group ( ) #NEWLINE# ip_group . add_argument ( '-4' , dest = 'ipv4' , action = 'store_true' , default = False , help = _ ( 'Use only IPv4 addresses' ) ) #NEWLINE# ip_group . add_argument ( '-6' , dest = 'ipv6' , action = 'store_true' , default = False , help = _ ( 'Use only IPv6 addresses' ) ) #NEWLINE# type_group = parser . add_mutually_exclusive_group ( ) #NEWLINE# type_group . add_argument ( '--public' , dest = 'address_type' , action = 'store_const' , const = 'public' , default = 'public' , help = _ ( 'Use public IP address' ) ) #NEWLINE# type_group . add_argument ( '--private' , dest = 'address_type' , action = 'store_const' , const = 'private' , default = 'public' , help = _ ( 'Use private IP address' ) ) #NEWLINE# type_group . add_argument ( '--address-type' , metavar = '<address-type>' , dest = 'address_type' , default = 'public' , help = _ ( 'Use other IP address (public, private, etc)' ) ) #NEWLINE# parser . add_argument ( '-v' , dest = 'verbose' , action = 'store_true' , default = False , help = argparse . SUPPRESS ) #NEWLINE# return prog_name