[Openvas-commits] r5533 - in trunk/openvas-libraries: . nasl

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Wed Oct 14 09:48:59 CEST 2009


Author: mwiegand
Date: 2009-10-14 09:48:59 +0200 (Wed, 14 Oct 2009)
New Revision: 5533

Modified:
   trunk/openvas-libraries/ChangeLog
   trunk/openvas-libraries/nasl/nasl.c
Log:
* nasl/nasl.c (main): Made command line options more
consistent with other modules and coding standards. Short option for
--version is now -V (was -v).


Modified: trunk/openvas-libraries/ChangeLog
===================================================================
--- trunk/openvas-libraries/ChangeLog	2009-10-14 07:46:24 UTC (rev 5532)
+++ trunk/openvas-libraries/ChangeLog	2009-10-14 07:48:59 UTC (rev 5533)
@@ -1,3 +1,9 @@
+2009-10-14  Michael Wiegand <michael.wiegand at intevation.de>
+
+	* nasl/nasl.c (main): Made command line options more
+	consistent with other modules and coding standards. Short option for
+	--version is now -V (was -v).
+
 2009-10-13  Matthew Mundell <matthew.mundell at intevation.de>
 
 	* omp/omp.c (check_response, omp_abort_task): New functions.

Modified: trunk/openvas-libraries/nasl/nasl.c
===================================================================
--- trunk/openvas-libraries/nasl/nasl.c	2009-10-14 07:46:24 UTC (rev 5532)
+++ trunk/openvas-libraries/nasl/nasl.c	2009-10-14 07:48:59 UTC (rev 5533)
@@ -129,7 +129,7 @@
  GOptionContext *option_context;
  static GOptionEntry entries[] =
  {
-  { "version",     'v', 0, G_OPTION_ARG_NONE,   &display_version,
+  { "version",     'V', 0, G_OPTION_ARG_NONE,   &display_version,
                    "Display version information", NULL },
   { "description", 'D', 0, G_OPTION_ARG_NONE,   &description_only,
                    "Only run the 'description' part of the script", NULL },



More information about the Openvas-commits mailing list