#include "putty.h" #include "storage.h" const unsigned cmdline_tooltype = TOOLTYPE_NONNETWORK | TOOLTYPE_NO_VERBOSE_OPTION; void gui_term_process_cmdline(Conf *conf, char *cmdline) { do_defaults(NULL, conf); conf_set_str(conf, CONF_remote_cmd, ""); cmdline = handle_restrict_acl_cmdline_prefix(cmdline); if (handle_special_sessionname_cmdline(cmdline, conf) || handle_special_filemapping_cmdline(cmdline, conf)) return; int argc; char **argv, **argstart; split_into_argv(cmdline, false, &argc, &argv, &argstart); for (int i = 0; i < argc; i++) { char *arg = argv[i]; int retd = cmdline_process_param( arg, i+1