Skip to content

Commit

Permalink
Clarify help text for --vt-verification-collation
Browse files Browse the repository at this point in the history
Omitting the option is now also mentioned.
  • Loading branch information
timopollmeier committed Jul 29, 2021
1 parent 6c767e5 commit b734579
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion doc/gvmd.8
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ Verify scanner SCANNER-UUID and exit.
Print version and exit.
.TP
\fB--vt-verification-collation=\fICOLLATION\fB\f1
Set collation for VT verification to COLLATION, leave empty to choose automatically. Should be 'ucs_default' if DB uses UTF-8 or 'C' for single-byte encodings.
Set collation for VT verification to COLLATION, omit or leave empty to choose automatically. Should be 'ucs_default' if DB uses UTF-8 or 'C' for single-byte encodings.
.SH SIGNALS
SIGHUP causes gvmd to rebuild the database with information from the Scanner (openvas).
.SH EXAMPLES
Expand Down
2 changes: 1 addition & 1 deletion doc/gvmd.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -453,7 +453,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<p><opt>--vt-verification-collation=<arg>COLLATION</arg></opt></p>
<optdesc>
<p>
Set collation for VT verification to COLLATION, leave empty
Set collation for VT verification to COLLATION, omit or leave empty
to choose automatically. Should be 'ucs_default' if DB uses UTF-8
or 'C' for single-byte encodings.
</p>
Expand Down
2 changes: 1 addition & 1 deletion doc/gvmd.html
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ <h2>Options</h2>
<p><b>--vt-verification-collation=<em>COLLATION</em></b></p>

<p>
Set collation for VT verification to COLLATION, leave empty
Set collation for VT verification to COLLATION, omit or leave empty
to choose automatically. Should be 'ucs_default' if DB uses UTF-8
or 'C' for single-byte encodings.
</p>
Expand Down
6 changes: 3 additions & 3 deletions src/gvmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -2150,9 +2150,9 @@ gvmd (int argc, char** argv)
NULL },
{ "vt-verification-collation", '\0', 0, G_OPTION_ARG_STRING,
&vt_verification_collation,
"Set collation for VT verification to <collation>, leave empty"
" to choose automatically. Should be 'ucs_default' if DB uses UTF-8"
" or 'C' for single-byte encodings.",
"Set collation for VT verification to <collation>, omit or leave"
" empty to choose automatically. Should be 'ucs_default' if DB uses"
" UTF-8 or 'C' for single-byte encodings.",
"<collation>" },
{ NULL }
};
Expand Down

0 comments on commit b734579

Please sign in to comment.