Since r7266, it's been possible to get a hostname into Default Settings; but
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 14 Sep 2009 21:26:48 +0000 (21:26 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Mon, 14 Sep 2009 21:26:48 +0000 (21:26 +0000)
commitf0f51e90dcb84e35046dd6683e29f15336a429fb
tree06a46db132a5b5e2b64f4c09d6410379c168cb7f
parent3fe551b2cde6cbc1946b48c311f45310de416cc5
Since r7266, it's been possible to get a hostname into Default Settings; but
plink did not cope gracefully with this -- it was not possible to override that
hostname on the command line (attempts at doing so would be treated as part of
the remote command).
Fix this by applying the principle of r7265: if the user didn't explicitly
specify that they wanted to launch the hostname in the default (for instance
with '-load "Default Settings"', we assume they don't want to, and such a
hostname doesn't count when deciding whether to treat a non-option argument as
hostname or command.

git-svn-id: svn://svn.tartarus.org/sgt/putty@8651 cda61777-01e9-0310-a592-d414129be87e
unix/uxplink.c
windows/winplink.c