X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tfc_error.c;h=9bface14b50b5b13535f703ce82c188df21ecf1f;hb=cdd9119e29f2f865403303adb8b6004b863db968;hp=d95f420f2f13d33dc00716a31d58a70964eab560;hpb=13cc886eb2edfe7be4e65067be6df01e2f08436a;p=tfcrypt.git diff --git a/tfc_error.c b/tfc_error.c index d95f420..9bface1 100644 --- a/tfc_error.c +++ b/tfc_error.c @@ -39,7 +39,7 @@ void xerror(tfc_yesno noexit, tfc_yesno noerrno, tfc_yesno nostats, const char * if (statline_was_shown == YES && do_statline_dynamic == YES) tfc_esay("\n"); - tfc_nfsay(stderr, "%s: ", progname); + tfc_nfsay(stderr, "%s: ", tfc_format_pid(progname)); tfc_vfsay(stderr, NO, fmt, ap); if (errno && noerrno == NO) { s = strerror(errno); @@ -317,6 +317,7 @@ void usage(void) tfc_say(" norepeat: do not ask for any possible password confirmations."); tfc_say(" showsecrets: show passwords in plaintext instead of masking them."); tfc_say(" finished: add \"finished\" word before status line when work is finished."); + tfc_say(" pid: show %s's process id near it's name in error messages, logs etc.", progname); tfc_say(" prompt=str: set main password prompts to this string."); tfc_say(" macprompt=str: set MAC password prompts to this string."); tfc_say(" shorthex: with -H, do not print printable characters, dump only hex string.");