aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-09-08 09:28:27 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-09-08 09:28:27 +0100
commitdaf2c293d314317d6fb322aa5eeba4eee4ac5653 (patch)
treecb47207f1bac4ca8bc989fa05dcd8ec6dc04b4b7
parent70e248d7851c604927bfeedd5e818c61df85c6b2 (diff)
downloadpaludis-daf2c293d314317d6fb322aa5eeba4eee4ac5653.tar.gz
paludis-daf2c293d314317d6fb322aa5eeba4eee4ac5653.tar.xz
Fix graph programs
-rw-r--r--src/clients/cave/cmd_graph_jobs.cc4
-rw-r--r--src/clients/cave/cmd_resolve_cmdline.cc2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/clients/cave/cmd_graph_jobs.cc b/src/clients/cave/cmd_graph_jobs.cc
index ef74ba4..ced4f1c 100644
--- a/src/clients/cave/cmd_graph_jobs.cc
+++ b/src/clients/cave/cmd_graph_jobs.cc
@@ -198,8 +198,8 @@ namespace
const FSPath & src,
const FSPath & dst)
{
- Process process(ProcessCommand({ cmdline.program_options.a_graph_jobs_program.argument(),
- "-T", cmdline.graph_jobs_options.a_graph_jobs_format.argument(),
+ Process process(ProcessCommand({ cmdline.program_options.a_graph_program.argument(),
+ "-T", cmdline.program_options.a_graph_program.argument(),
stringify(src), "-o", stringify(dst)
}));
diff --git a/src/clients/cave/cmd_resolve_cmdline.cc b/src/clients/cave/cmd_resolve_cmdline.cc
index a0abbc3..089bda4 100644
--- a/src/clients/cave/cmd_resolve_cmdline.cc
+++ b/src/clients/cave/cmd_resolve_cmdline.cc
@@ -387,7 +387,7 @@ ResolveCommandLineProgramOptions::ResolveCommandLineProgramOptions(args::ArgsHan
a_graph_program(&g_program_options, "graph-program", '\0', "The program used to create Graphviz graphs. "
"Defaults to 'dot'.")
{
- a_graph_jobs_program.set_argument("dot");
+ a_graph_program.set_argument("dot");
}
ResolveCommandLineImportOptions::ResolveCommandLineImportOptions(args::ArgsHandler * const h) :