I\'m writing a wrapper around the ssh command line client. After the first positional argument that\'s part of command, all further options should
ssh
command
Another option is to use parse_known_args, which stops parsing when an unknown argument is encountered.