mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-02 03:52:49 -05:00
New command-line option: 'putty --host-ca'.
This causes PuTTY to bring up just the host CA configuration dialog box, and shut down once that box is dismissed. I can imagine it potentially being useful to users, but in the first instance, I expect it to be useful to _me_, because it will greatly streamline testing changes to the UI of that dialog!
This commit is contained in:
@ -532,6 +532,11 @@ bool do_cmdline(int argc, char **argv, bool do_everything, Conf *conf)
|
||||
pgp_fingerprints();
|
||||
exit(1);
|
||||
|
||||
} else if (!strcmp(p, "-host-ca") || !strcmp(p, "--host-ca") ||
|
||||
!strcmp(p, "-host_ca") || !strcmp(p, "--host_ca")) {
|
||||
show_ca_config_box_synchronously();
|
||||
exit(0);
|
||||
|
||||
} else if (p[0] != '-') {
|
||||
/* Non-option arguments not handled by cmdline.c are errors. */
|
||||
if (do_everything) {
|
||||
|
Reference in New Issue
Block a user