From 9d0ff0495fe92982cb88874800b3134dca176f8c Mon Sep 17 00:00:00 2001 From: Ian Jackson Date: Mon, 7 Jun 2021 01:13:39 +0100 Subject: [PATCH] prefs bugfix: Pass our argv[0] as a synth arg too Signed-off-by: Ian Jackson --- cli/otter.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/otter.rs b/cli/otter.rs index 19692860..84dc04d7 100644 --- a/cli/otter.rs +++ b/cli/otter.rs @@ -398,7 +398,7 @@ fn main() { .context(context()) ), }; - let synth_args = vec![synth_arg.clone()]; + let synth_args = vec![args[0].clone(), synth_arg.clone()]; rapc.run(&mut ap, synth_args, None, Some(&|stderr: &mut dyn Write|{ writeln!(stderr, "Error processing {}\n\ -- 2.30.2