summaryrefslogtreecommitdiff
path: root/utils/hwstub/tools/hwstub_shell.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'utils/hwstub/tools/hwstub_shell.cpp')
-rw-r--r--utils/hwstub/tools/hwstub_shell.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/utils/hwstub/tools/hwstub_shell.cpp b/utils/hwstub/tools/hwstub_shell.cpp
index 347793d..a852e0f 100644
--- a/utils/hwstub/tools/hwstub_shell.cpp
+++ b/utils/hwstub/tools/hwstub_shell.cpp
@@ -1349,7 +1349,8 @@ void load_std_desc(std::vector< soc_desc::soc_t >& socs)
printf("Cannot load description file '%s'\n", file.c_str());
socs.pop_back();
}
- print_context(file, ctx);
+ if(!g_quiet)
+ print_context(file, ctx);
}
closedir(dir);
}
@@ -1430,7 +1431,8 @@ int main(int argc, char **argv)
printf("Cannot load description file '%s'\n", argv[i]);
socs.pop_back();
}
- print_context(argv[i], ctx);
+ if(!g_quiet)
+ print_context(argv[i], ctx);
}
/* load standard desc files */
load_std_desc(socs);