chiark
/
gitweb
/
~ianmdlvl
/
otter.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ecf7dc9
)
prefs bugfix: Pass our argv[0] as a synth arg too
author
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 7 Jun 2021 00:13:39 +0000
(
01:13
+0100)
committer
Ian Jackson
<ijackson@chiark.greenend.org.uk>
Mon, 7 Jun 2021 00:19:00 +0000
(
01:19
+0100)
Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
cli/otter.rs
patch
|
blob
|
history
diff --git
a/cli/otter.rs
b/cli/otter.rs
index 196928607463898be3daeb51470c90bc6812adce..84dc04d79f8b0412a5b7a8d50785f623b50fca6b 100644
(file)
--- 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\