[syslinux:master] hdt: Quiet is now the default

syslinux-bot for Erwan Velu erwan.velu at free.fr
Sun Feb 6 14:07:09 PST 2011


Commit-ID:  704b2947b9467e4696844eba05ca5353d8a0aff6
Gitweb:     http://syslinux.zytor.com/commit/704b2947b9467e4696844eba05ca5353d8a0aff6
Author:     Erwan Velu <erwan.velu at free.fr>
AuthorDate: Mon, 7 Dec 2009 11:21:37 +0100
Committer:  Erwan Velu <erwan.velu at free.fr>
CommitDate: Mon, 7 Dec 2009 11:21:37 +0100

hdt: Quiet is now the default

Impact: visual

No need to pollute the screen with useless messages


---
 com32/hdt/hdt-common.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/com32/hdt/hdt-common.c b/com32/hdt/hdt-common.c
index b8464f3..ec51f10 100644
--- a/com32/hdt/hdt-common.c
+++ b/com32/hdt/hdt-common.c
@@ -61,7 +61,7 @@ void detect_parameters(const int argc, const char *argv[],
 		       struct s_hardware *hardware)
 {
     /* Quiet mode - make the output more quiet */
-    quiet = false;
+    quiet = true;
 
     /* Vesa mode isn't set until we explictly call it */
     vesamode = false;
@@ -69,6 +69,8 @@ void detect_parameters(const int argc, const char *argv[],
     for (int i = 1; i < argc; i++) {
 	if (!strncmp(argv[i], "quiet", 5)) {
 	    quiet = true;
+	} else	if (!strncmp(argv[i], "verbose", 7)) {
+	    quiet = false;
 	} else if (!strncmp(argv[i], "modules_pcimap=", 15)) {
 	    strncpy(hardware->modules_pcimap_path, argv[i] + 15,
 		    sizeof(hardware->modules_pcimap_path));



More information about the Syslinux-commits mailing list