Add option to name reference command

Add --reference-name option to give a reference command a name.

This was discussed in the PR that added --reference, #744, but
was unfortunately never implemented.
This commit is contained in:
Niklas Dewally authored and David Peter committed 2025-09-03 20:45:39 +02:00
1 parent 835fc43ea1
commit 2166c9f02e
4 files changed
+28 -1

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ impl<'a> Scheduler<'a> {
.options
.reference_command
.as_ref()
.map(|cmd| Command::new(None, cmd));
.map(|cmd| Command::new(self.options.reference_name.as_deref(), cmd));
executor.calibrate()?;