-O finished: prepend "finished: " marker when tfcrypt done (useful for logs).
[tfcrypt.git] / tfcrypt.c
index 6b9055f346b7def9984a34863a86cc15cff6f577..aa7db33eacba393d5f52be7495bdd184ac2a919b 100644 (file)
--- a/tfcrypt.c
+++ b/tfcrypt.c
@@ -332,6 +332,8 @@ _baddfname:
                                                do_full_key = YES;
                                        else if (!strcmp(s, "showsecrets"))
                                                show_secrets = YES;
+                                       else if (!strcmp(s, "finished"))
+                                               show_when_done = YES;
                                        else if (!strncmp(s, "logfile", 7) && *(s+7) == '=')
                                                open_log(s+8);
                                        else if (!strncmp(s, "iobs", 4) && *(s+4) == '=') {