Skip to content

Commit

Permalink
Merge pull request #1277 from qha/tune-scanner-host-doc
Browse files Browse the repository at this point in the history
Document that a socket can be passed to --scanner-host
  • Loading branch information
mattmundell authored Aug 31, 2020
2 parents 83d24be + d8ae3e1 commit a32b361
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).

### Changed
- Move EXE credential generation to a Python script [#1260](https://github.com/greenbone/gvmd/pull/1260) [#1262](https://github.com/greenbone/gvmd/pull/1262)
- Clarify documentation for --scan-host parameter [#1277](https://github.com/greenbone/gvmd/pull/1277)

[21.4]: https://github.com/greenbone/gvmd/compare/gvmd-20.08...master

Expand Down
2 changes: 1 addition & 1 deletion doc/gvmd.8
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ Scanner credential for --create-scanner and --modify-scanner.
Can be blank to unset or a credential UUID. If omitted, a new credential can be created instead.
.TP
\fB--scanner-host=\fISCANNER-HOST\fB\f1
Scanner host for --create-scanner and --modify-scanner.
Scanner host or socket for --create-scanner and --modify-scanner.
.TP
\fB--scanner-key-priv=\fISCANNER-KEY-PRIVATE\fB\f1
Scanner private key path for --[create|modify]-scanner if --scanner-credential is not given.
Expand Down
2 changes: 1 addition & 1 deletion doc/gvmd.8.xml
Original file line number Diff line number Diff line change
Expand Up @@ -327,7 +327,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<option>
<p><opt>--scanner-host=<arg>SCANNER-HOST</arg></opt></p>
<optdesc>
<p>Scanner host for --create-scanner and --modify-scanner.</p>
<p>Scanner host or socket for --create-scanner and --modify-scanner.</p>
</optdesc>
</option>
<option>
Expand Down
2 changes: 1 addition & 1 deletion doc/gvmd.html
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ <h2>Options</h2>

<p><b>--scanner-host=<em>SCANNER-HOST</em></b></p>

<p>Scanner host for --create-scanner and --modify-scanner.</p>
<p>Scanner host or socket for --create-scanner and --modify-scanner.</p>



Expand Down
2 changes: 1 addition & 1 deletion src/gvmd.c
Original file line number Diff line number Diff line change
Expand Up @@ -1931,7 +1931,7 @@ gvmd (int argc, char** argv)
"<scanner-credential>" },
{ "scanner-host", '\0', 0, G_OPTION_ARG_STRING,
&scanner_host,
"Scanner host for --create-scanner and --modify-scanner.",
"Scanner host or socket for --create-scanner and --modify-scanner.",
"<scanner-host>" },
{ "scanner-key-priv", '\0', 0, G_OPTION_ARG_STRING,
&scanner_key_priv,
Expand Down

0 comments on commit a32b361

Please sign in to comment.