Skip to content

Commit

Permalink
Merge pull request #532 from ArnoStiefvater/update-man-page
Browse files Browse the repository at this point in the history
Update version command
  • Loading branch information
jjnicola authored Jun 18, 2020
2 parents cf1e156 + 8d05f21 commit 2d9b085
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions doc/openvas-nasl.1
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
openvas-nasl \- NASL Attack Scripting Language
.SH SYNOPSIS
.B openvas-nasl
.I <[-vh] [-T tracefile] [-s] [-t target] [-c config_file] [-d] [-sX] > files...
.I <[-Vh] [-T tracefile] [-s] [-t target] [-c config_file] [-d] [-sX] > files...
.SH DESCRIPTION
.BR openvas-nasl
executes a set of NASL scripts against a given target host. It can
Expand Down Expand Up @@ -56,7 +56,7 @@ Run the script with disabled signature verification.
.B \-h
Show help
.TP
.B \-v
.B \-V
Show the version of NASL.
.TP
.B \-d
Expand Down
4 changes: 2 additions & 2 deletions doc/openvas.8.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
.SH NAME
openvas \- The Scanner of the Greenbone Vulnerability Management
.SH SYNOPSIS
.BI "openvas [\|-v\|] [\|-h\|] [\|-c " config-file\| "] [\|--scan-start " scan-uuid\| "]
.BI "openvas [\|-V\|] [\|-h\|] [\|-c " config-file\| "] [\|--scan-start " scan-uuid\| "]
.BI " [\|-u\|] [\|-s\|] [\|-y\|]"

.SH DESCRIPTION
Expand All @@ -29,7 +29,7 @@ Use the alternate configuration file instead of
.I @OPENVAS_CONF@

.TP
.B "-v, --version"
.B "-V, --version"
Prints the version number and exits

.TP
Expand Down
2 changes: 1 addition & 1 deletion nasl/nasl.c
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ main (int argc, char **argv)
else
putchar ('\n');
printf ("Copyright (C) 2002 - 2004 Tenable Network Security\n");
printf ("Copyright (C) 2013 Greenbone Networks GmbH\n\n");
printf ("Copyright (C) 2020 Greenbone Networks GmbH\n\n");
exit (0);
}
if (nasl_debug)
Expand Down
2 changes: 1 addition & 1 deletion src/openvas.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ openvas (int argc, char *argv[])
printf ("GIT revision %s\n", OPENVAS_GIT_REVISION);
#endif
printf ("gvm-libs %s\n", gvm_libs_version ());
printf ("Most new code since 2005: (C) 2019 Greenbone Networks GmbH\n");
printf ("Most new code since 2005: (C) 2020 Greenbone Networks GmbH\n");
printf (
"Nessus origin: (C) 2004 Renaud Deraison <deraison@nessus.org>\n");
printf ("License GPLv2: GNU GPL version 2\n");
Expand Down

0 comments on commit 2d9b085

Please sign in to comment.