From 8d05f21f83be723f6ceb14c7f3910dc766cb361e Mon Sep 17 00:00:00 2001 From: ArnoStiefvater Date: Wed, 17 Jun 2020 14:42:37 +0200 Subject: [PATCH] Update version command --- doc/openvas-nasl.1 | 4 ++-- doc/openvas.8.in | 4 ++-- nasl/nasl.c | 2 +- src/openvas.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/openvas-nasl.1 b/doc/openvas-nasl.1 index 60bf081ee..da4f14a36 100644 --- a/doc/openvas-nasl.1 +++ b/doc/openvas-nasl.1 @@ -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 @@ -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 diff --git a/doc/openvas.8.in b/doc/openvas.8.in index b9bfc34dc..ed8d43503 100644 --- a/doc/openvas.8.in +++ b/doc/openvas.8.in @@ -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 @@ -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 diff --git a/nasl/nasl.c b/nasl/nasl.c index d8cd4fbd9..8dfa2bda5 100644 --- a/nasl/nasl.c +++ b/nasl/nasl.c @@ -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) diff --git a/src/openvas.c b/src/openvas.c index fcd8b4301..52a0a7121 100644 --- a/src/openvas.c +++ b/src/openvas.c @@ -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 \n"); printf ("License GPLv2: GNU GPL version 2\n");