param cmd: Show used and normal list indices

This commit is contained in:
Lorenz Meier
2015-04-27 09:04:07 +02:00
parent 965e7cce03
commit 6755c0de01
+2 -2
View File
@@ -284,9 +284,9 @@ do_show_print(void *arg, param_t param)
}
}
printf("%c %c %s: ", (param_used(param) ? 'x' : ' '),
printf("%c %c %s [%d,%d] : ", (param_used(param) ? 'x' : ' '),
param_value_unsaved(param) ? '*' : (param_value_is_default(param) ? ' ' : '+'),
param_name(param));
param_name(param), param_get_used_index(param), param_get_index(param));
/*
* This case can be expanded to handle printing common structure types.