param tool: Fix code style

This commit is contained in:
Lorenz Meier 2015-02-10 08:40:41 +01:00
parent a7580a1eae
commit 38ad35fd77
1 changed files with 13 additions and 9 deletions

View File

@ -154,6 +154,7 @@ param_main(int argc, char *argv[])
if (!strcmp(argv[1], "reset")) {
if (argc >= 3) {
do_reset((const char **) &argv[2], argc - 2);
} else {
do_reset(NULL, 0);
}
@ -162,6 +163,7 @@ param_main(int argc, char *argv[])
if (!strcmp(argv[1], "reset_nostart")) {
if (argc >= 3) {
do_reset_nostart((const char **) &argv[2], argc - 2);
} else {
do_reset_nostart(NULL, 0);
}
@ -465,6 +467,7 @@ do_reset(const char* excludes[], int num_excludes)
{
if (num_excludes > 0) {
param_reset_excludes(excludes, num_excludes);
} else {
param_reset_all();
}
@ -490,6 +493,7 @@ do_reset_nostart(const char* excludes[], int num_excludes)
if (num_excludes > 0) {
param_reset_excludes(excludes, num_excludes);
} else {
param_reset_all();
}