cleanup variable names

This commit is contained in:
Dietmar Maurer
2018-11-16 16:47:23 +01:00
parent 845901f41d
commit ffff48fcfe
2 changed files with 17 additions and 17 deletions

View File

@ -68,8 +68,8 @@ pub fn parse_arguments(args: &Vec<String>, schema: &Schema) -> Value {
pos += 1;
data.push((name, next));
} else {
if let Some(Schema::Boolean(jss_boolean)) = properties.get::<str>(&name) {
if let Some(default) = jss_boolean.default {
if let Some(Schema::Boolean(boolean_schema)) = properties.get::<str>(&name) {
if let Some(default) = boolean_schema.default {
if default == false {
data.push((name, "true".to_string()));
} else {