]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - psftp.c
Include 'build info' in all --version text and About boxes.
[PuTTY.git] / psftp.c
diff --git a/psftp.c b/psftp.c
index d35b8fa3c305c31321ed3c526e5d11acd810d3d0..513f202b674cd81bd22946eca18746aa49e40750 100644 (file)
--- a/psftp.c
+++ b/psftp.c
@@ -2665,7 +2665,9 @@ static void usage(void)
 
 static void version(void)
 {
-  printf("psftp: %s\n", ver);
+  char *buildinfo_text = buildinfo("\n");
+  printf("psftp: %s\n%s\n", ver, buildinfo_text);
+  sfree(buildinfo_text);
   cleanup_exit(1);
 }