From: Florian Forster Date: Wed, 28 Jul 2010 14:56:32 +0000 (+0200) Subject: "list graphs" action: Add link to display dynamic graphs, too. X-Git-Tag: v4.0.0~66 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6777c7f45bb9470bd95da5e6540dc11f0097a44f;p=collection4.git "list graphs" action: Add link to display dynamic graphs, too. --- diff --git a/src/action_list_graphs.c b/src/action_list_graphs.c index f59da7c..ac37cc0 100644 --- a/src/action_list_graphs.c +++ b/src/action_list_graphs.c @@ -88,6 +88,13 @@ static int print_all_graphs (__attribute__((unused)) void *user_data) /* {{{ */ gl_graph_get_all (include_dynamic, print_one_graph, /* user_data = */ NULL); printf (" \n"); + if (!include_dynamic) + { + printf ("
" + "List dynamic graphs, too." + "
\n", script_name ()); + } + return (0); } /* }}} int print_all_graphs */