aboutsummaryrefslogtreecommitdiff
path: root/tools/plink/cmdline.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/plink/cmdline.c')
-rw-r--r--tools/plink/cmdline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/plink/cmdline.c b/tools/plink/cmdline.c
index 6492132f1..aa376a053 100644
--- a/tools/plink/cmdline.c
+++ b/tools/plink/cmdline.c
@@ -172,6 +172,7 @@ int cmdline_process_param(char *p, char *value, int need_save, Config *cfg)
* saved. */
do_defaults(value, cfg);
loaded_session = TRUE;
+ cmdline_session_name = dupstr(value);
return 2;
}
if (!strcmp(p, "-ssh")) {