-O ro: readonly files, never write anything (except to standard streams)
[tfcrypt.git] / tfc_error.c
index ba36658baa08838904bb5c4619b8d496ff3cb38c..bb477c4883020ddbc3874d330dd418e48640b4d1 100644 (file)
@@ -148,9 +148,11 @@ void usage(void)
                tfc_say("  -a: shortcut of -O xtime.");
                tfc_say("  -l length: read only these first bytes of source.");
                tfc_say("  -O opts: set options (comma separated list):");
+               tfc_say("    ro: open all files only for reading, even those intended for writing,");
                tfc_say("    sync: request a synchronous I/O for a output,");
                tfc_say("    fsync: on each write() call a corresponding fsync(fd),");
                tfc_say("    trunc: open(O_WRONLY) will truncate output file to zero size.");
+               tfc_say("    append: open(O_APPEND) will append data to output file.");
                tfc_say("    pad: pad incomplete (l.t. %u bytes) block with zeroes.", TFC_U(TF_BLOCK_SIZE));
                tfc_say("    xtime: copy timestamps from source to destination files.");
                tfc_say("    gibsize: use SI units of size: 1k = 1000. Applies only to size prefixes.");
@@ -314,9 +316,11 @@ void usage(void)
        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("    ro: open all files only for reading, even those intended for writing,");
        tfc_say("    sync: request a synchronous I/O for a output,");
        tfc_say("    fsync: on each write() call a corresponding fsync(fd),");
        tfc_say("    trunc: open(O_WRONLY) will truncate output file to zero size.");
+       tfc_say("    append: open(O_APPEND) will append data to output file.");
        tfc_say("    pad: pad incomplete (l.t. %u bytes) block with zeroes.", TFC_U(TF_BLOCK_SIZE));
        tfc_say("    xtime: copy timestamps from source to destination files.");
        tfc_say("    gibsize: use SI units of size: 1k = 1000. Applies only to size prefixes.");