X-Git-Url: https://jxself.org/git/?a=blobdiff_plain;f=tfc_error.c;h=5729de0f42ff26ad18db6e37da6f81c4d4c7e934;hb=72672c5cb76597fdc07cbc9bc190394d1c1d3ee1;hp=4fd81f1eeb1c1ac24f172e0a9c5d60ce11d1a50a;hpb=6a9ff11ac690fd5ffe09e0aa9398e00a54c2889c;p=tfcrypt.git diff --git a/tfc_error.c b/tfc_error.c index 4fd81f1..5729de0 100644 --- a/tfc_error.c +++ b/tfc_error.c @@ -91,7 +91,11 @@ void usage(void) tfc_yesno is_embedded_prog = NO; if (optopt == 'V') { + char shash[64]; tfc_say("tfcrypt toolkit, version %s.", _TFCRYPT_VERSION); + hash_defaults(shash, sizeof(shash)); + tfc_say("Defaults hash: %s", shash); + memset(shash, 0, sizeof(shash)); xexit(0); } @@ -239,6 +243,7 @@ void usage(void) tfc_say(" when the whole status line width is smaller than tty width."); tfc_say(" statless: emit less information in status line (only processed data)."); tfc_say(" norepeat: do not ask for any possible password confirmations."); + tfc_say(" showsecrets: show passwords in plaintext instead of masking them."); 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."); @@ -255,6 +260,7 @@ void usage(void) tfc_say(" Internally this number is translated into number of %u byte blocks.", TFC_U(TF_BLOCK_SIZE)); tfc_say(" oseek=val: seek destination file/device by these val bytes."); tfc_say(" count=val: process only these val bytes, both input and output."); + tfc_say(" ftrunc=val: truncate output file to these val bytes before closing it."); tfc_say(" xkey=val: take only val bytes from user keyfile."); tfc_say(" okey=val: seek the key before reading it (usually a device)."); tfc_say(" xctr=val: specify size in bytes of initial counter prepended or read.");