Fix input parameter processing for client num nodes (#653)

This commit is contained in:
pgarg66
2018-07-16 17:23:35 -07:00
committed by GitHub
parent fdf94a77b4
commit 0d85b43901

2
src/bin/client-demo.rs Normal file → Executable file
View File

@ -211,7 +211,7 @@ fn main() {
threads = t.to_string().parse().expect("integer");
}
if let Some(n) = matches.value_of("nodes") {
if let Some(n) = matches.value_of("num_nodes") {
num_nodes = n.to_string().parse().expect("integer");
}