X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/d719927eb175a73b13a7015498e9757010344bf5..a607fe54c9f20934b57e29e9040b9dd0a4decf3a:/unix/uxplink.c diff --git a/unix/uxplink.c b/unix/uxplink.c index 0d896225..560ec386 100644 --- a/unix/uxplink.c +++ b/unix/uxplink.c @@ -654,8 +654,11 @@ int main(int argc, char **argv) } else if (!strcmp(p, "-s")) { /* Save status to write to conf later. */ use_subsystem = 1; - } else if (!strcmp(p, "-V")) { + } else if (!strcmp(p, "-V") || !strcmp(p, "--version")) { version(); + } else if (!strcmp(p, "--help")) { + usage(); + exit(0); } else if (!strcmp(p, "-pgpfp")) { pgp_fingerprints(); exit(1);