Update splinter show command to handle csv service arguments
@@ -293,12 +293,16 @@ impl fmt::Display for CircuitSlice {
Err(_) => display_string += &format!(" {}\n", value),
};
} else {
+ let values =
+ value.split(',').map(String::from).collect::<Vec<String>>();
+ for value in values {
display_string += &format!(" {}\n", value);
}
}
}
}
}
+ }
write!(f, "{}", display_string)
}
@@ -392,12 +396,16 @@ impl fmt::Display for ProposalSlice {
Err(_) => display_string += &format!(" {}\n", value),
};
} else {
+ let values =
+ value.split(',').map(String::from).collect::<Vec<String>>();
+ for value in values {
display_string += &format!(" {}\n", value);
}
}
}
}
}
+ }
write!(f, "{}", display_string)
}
