FIX #846 -- add output filename prefix

This commit adds the possibility to supply a output
file name prefix via --outprefix or FNAME_PREFIX
This commit is contained in:
Dirk
2017-11-14 19:41:25 +01:00
parent 1a7b761f5b
commit e450eb34e4
3 changed files with 17 additions and 11 deletions

View File

@ -408,6 +408,9 @@ whole 9 yards
\fB\-\-append\fR If an output file exists it will append to this file, without a header\. The environment variable APPEND does the same\. If the file exists and you don\'t use \fB\-\-append\fR testssl\.sh will exit with an error\. Be careful using this switch/variable\. A complementary option which overwrites an existing file doesn\'t exist per design\.
.
.P
\fB\-\-prefix <out_fname_prefix>\fR Prepend output filename prefix \fIout_fname_prefix\fR before \'\e${NODE}\.\'\. You can use as well the environment variable FNAME_PREFIX\.
.
.P
A few file output options can also be preset via environment variables\.
.
.SS "COLOR RATINGS"

View File

@ -276,6 +276,7 @@ The same can be achieved by setting the environment variable `WARNINGS`.
`--append` If an output file exists it will append to this file, without a header. The environment variable APPEND does the same. If the file exists and you don't use `--append` testssl.sh will exit with an error. Be careful using this switch/variable. A complementary option which overwrites an existing file doesn't exist per design.
`--prefix <out_fname_prefix>` Prepend output filename prefix <out_fname_prefix> before '\${NODE}.'. You can use as well the environment variable FNAME_PREFIX.
A few file output options can also be preset via environment variables.