From: jacob Date: Mon, 14 Sep 2009 21:26:48 +0000 (+0000) Subject: Since r7266, it's been possible to get a hostname into Default Settings; but X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/commitdiff_plain/f0f51e90dcb84e35046dd6683e29f15336a429fb?hp=f0f51e90dcb84e35046dd6683e29f15336a429fb 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 ---