Skip to content

Commit

Permalink
Don't throw away = in parameter values.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmycuadra committed May 13, 2016
1 parent 457ecee commit 3034ccd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parameter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ pub fn user_values(parameters: Vec<String>) -> Result<UserValues, String> {
if parts.len() < 2 {
return Err("Parameters must be supplied in the form KEY=VALUE.".to_string());
} else {
user_values.insert(parts.remove(0), parts.concat());
user_values.insert(parts.remove(0), parts.join("="));
}
}

Expand Down

0 comments on commit 3034ccd

Please sign in to comment.