diff --git a/CHANGELOG.md b/CHANGELOG.md index aa22dda7d..bd94684c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [21.4.4] - Unreleased ### Added +- Add --rebuild-gvmd-data command line option [#1680](https://github.com/greenbone/gvmd/pull/1680) + ### Changed ### Deprecated ### Removed diff --git a/doc/gvmd.8 b/doc/gvmd.8 index 96734fcb1..fe71b5ac6 100644 --- a/doc/gvmd.8 +++ b/doc/gvmd.8 @@ -62,7 +62,7 @@ Disable task scheduling. Sets the path to the feed lock file. .TP \fB--feed-lock-timeout=\fITIMEOUT\fB\f1 -Sets the number of seconds to retry for if the feed is locked in contexts (like migration or rebuilds) that do not retry on their own (like automatic syncs). Defaults to 0 (no retry). +Sets the number of seconds to retry for if the feed is locked in contexts (like migration or rebuilds) that do not retry on their own (like automatic syncs). Defaults to 0 (no retry). .TP \fB-f, --foreground\f1 Run in foreground. @@ -139,6 +139,11 @@ Use port number NUMBER. \fB--port2=\fINUMBER\fB\f1 Use port number NUMBER for address 2. .TP +\fB--rebuild-gvmd-data=\fITYPES\fB\f1 +Reload all gvmd data objects of a given types from feed. + +The types must be "all" or a comma-separated of the following: "configs", "port_lists" and "report_formats". +.TP \fB--rebuild-scap=\fITYPE\fB\f1 Rebuild SCAP data of type \fITYPE\f1 (currently only supports 'ovaldefs'). .TP diff --git a/doc/gvmd.8.xml b/doc/gvmd.8.xml index 21070c008..965e9e221 100644 --- a/doc/gvmd.8.xml +++ b/doc/gvmd.8.xml @@ -315,6 +315,19 @@ along with this program. If not, see .

Use port number NUMBER for address 2.

+