[Openvas-commits] r5485 - in trunk/openvas-client: . openvas

scm-commit@wald.intevation.org scm-commit at wald.intevation.org
Mon Oct 12 10:18:42 CEST 2009


Author: mwiegand
Date: 2009-10-12 10:18:40 +0200 (Mon, 12 Oct 2009)
New Revision: 5485

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


Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog	2009-10-12 07:55:34 UTC (rev 5484)
+++ trunk/openvas-client/ChangeLog	2009-10-12 08:18:40 UTC (rev 5485)
@@ -1,3 +1,10 @@
+2009-10-12  Michael Wiegand <michael.wiegand at intevation.de>
+
+	* openvas/openvas-client.c (main): Made command line options more
+	consistent with other modules and coding standards. Short option for
+	--verbose is now -v (was -V), short option for --version is now -V
+	(was -v).
+
 2009-10-10  Jan-Oliver Wagner <jan-oliver.wagner at greenbone.net>
 
 	* openvas/Makefile: Added missing dependencies.

Modified: trunk/openvas-client/openvas/openvas-client.c
===================================================================
--- trunk/openvas-client/openvas/openvas-client.c	2009-10-12 07:55:34 UTC (rev 5484)
+++ trunk/openvas-client/openvas/openvas-client.c	2009-10-12 08:18:40 UTC (rev 5485)
@@ -1258,7 +1258,7 @@
   gchar *session_id = NULL;
   static GOptionEntry entries[] =
   {
-    { "version", 'v', 0, G_OPTION_ARG_NONE, &display_version, N_("Display version information"), NULL },
+    { "version", 'V', 0, G_OPTION_ARG_NONE, &display_version, N_("Display version information"), NULL },
 #ifdef USE_GTK
     { "no-pixmap", 'n', 0, G_OPTION_ARG_NONE, &no_pixmap, N_("No pixmaps"), NULL },
 #endif
@@ -1270,7 +1270,7 @@
 #else
     { "output-type", 'T', 0, G_OPTION_ARG_STRING, &output_type, N_("Output format"), N_("[nbe|html|text|xml|tex]") },
 #endif
-    { "verbose", 'V', 0, G_OPTION_ARG_NONE, &verbose, N_("Display status messages in batch mode"), NULL },
+    { "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose, N_("Display status messages in batch mode"), NULL },
     { "list-plugins", 'p', 0, G_OPTION_ARG_NONE, &list_plugins, N_("Obtain list of plugins installed on the server"), NULL },
     { "list-prefs", 'P', 0, G_OPTION_ARG_NONE, &list_prefs, N_("Obtain list of server and plugin preferences"), NULL },
     { "in-report", 'i', 0, G_OPTION_ARG_FILENAME, &in_report, N_("Input file (report conversion)"), N_("<in.nbe>") },



More information about the Openvas-commits mailing list