[Openvas-commits] r1127 - in trunk/openvas-client: . nessus
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Mon Aug 11 08:41:43 CEST 2008
Author: mwiegand
Date: 2008-08-11 08:41:42 +0200 (Mon, 11 Aug 2008)
New Revision: 1127
Modified:
trunk/openvas-client/ChangeLog
trunk/openvas-client/nessus/nessus.c
Log:
Do not display html_graph as possible output type in the command line options if the client was compiled without gdchart support.
Modified: trunk/openvas-client/ChangeLog
===================================================================
--- trunk/openvas-client/ChangeLog 2008-08-10 22:40:00 UTC (rev 1126)
+++ trunk/openvas-client/ChangeLog 2008-08-11 06:41:42 UTC (rev 1127)
@@ -1,3 +1,9 @@
+2008-08-12 Michael Wiegand <michael.wiegand at intevation.de>
+
+ * nessus/nessus.c (main): Do not display html_graph as possible output
+ type in the command line options if the client was compiled without
+ gdchart support.
+
2008-08-10 Jan-Oliver Wagner <jan-oliver.wagner at intevation.de>
Removing handling of "PLUGINS_ORDER" command which
Modified: trunk/openvas-client/nessus/nessus.c
===================================================================
--- trunk/openvas-client/nessus/nessus.c 2008-08-10 22:40:00 UTC (rev 1126)
+++ trunk/openvas-client/nessus/nessus.c 2008-08-11 06:41:42 UTC (rev 1127)
@@ -674,7 +674,11 @@
{ "batch-mode", 'q', 0, G_OPTION_ARG_NONE, &batch_mode, N_("Batch-mode scan"), N_("<host> <port> <user> <pass> <targets-file> <result-file>") },
{ "make-config-file", 'm', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &make_config_file, "", NULL },
{ "config-file", 'c', 0, G_OPTION_ARG_FILENAME, &config_file, N_("Configuration file"), N_("<.rcfile>") },
+#ifndef NO_GDCHART
{ "output-type", 'T', 0, G_OPTION_ARG_STRING, &output_type, N_("Output format"), N_("[nbe|html|html_graph|text|xml|tex]") },
+#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 },
{ "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 },
More information about the Openvas-commits
mailing list