X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tfc_error.c;h=f69fdbe4ed0bf0800fcad4a101f14a3633f6a4e3;hb=cd6f1f9a84c17dbdf6ab320a04eae300502b898d;hp=3d95eba0cae6387a14800c4dfa7705ee52c1e447;hpb=c218fb98af0fbcba962101873756f76f66f4e4e9;p=tfcrypt.git diff --git a/tfc_error.c b/tfc_error.c index 3d95eba..f69fdbe 100644 --- a/tfc_error.c +++ b/tfc_error.c @@ -298,6 +298,7 @@ void usage(void) tfc_say(" -E xall: turn on error actions above for all errors, not just EIO errors."); tfc_say(" -E xseek: ignore positioning and other seek related errors."); tfc_say(" Multiple -E specifiers may be given in separate options."); + tfc_say(" -o logfile: redirect all messages to logfile instead of stderr."); tfc_say(" -O opts: set options (comma separated list):"); tfc_say(" sync: request a synchronous I/O for a output,"); tfc_say(" fsync: on each write() call a corresponding fsync(fd),"); @@ -315,6 +316,7 @@ void usage(void) 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."); + tfc_say(" logfile: (same as -o) redirect all messages to logfile instead of stderr."); tfc_say(" iobs=val: set IO block size value. Must not exceed %u bytes.", TFC_U(TFC_BLKSIZE)); tfc_say(" xtsblocks=val: use these nr of TF blocks per XTS block. Default is %u.", TFC_U(TFC_XTSBLOCKS)); tfc_say(" iseek=val: seek source file/device by these val bytes.");