add indices to create_image output

makes it easier to figure out what IniE section corresponds
with which PID.
This commit is contained in:
bunnie 2021-11-06 21:03:28 +08:00
parent c87acaeddc
commit 8b59bcdf61

View file

@ -63,8 +63,8 @@ impl fmt::Display for XousArguments {
self.ram_start + self.ram_length
)?;
for arg in &self.arguments {
write!(f, "{}", arg)?;
for (index, arg) in self.arguments.iter().enumerate() {
write!(f, "{:2}{}", index+1, arg)?;
}
Ok(())
}