expect_rlogin-cwd --version (return code: 0)
spawn rlogin --version
rlogin: invalid option -- '-'
usage: rlogin [-8ELKd] [-e char] [-i user] [-l user] [-p port] host
expect_rlogin-cwd --help (return code: 0)
spawn rlogin --help
rlogin: invalid option -- '-'
usage: rlogin [-8ELKd] [-e char] [-i user] [-l user] [-p port] host